Not long ago, it felt like every site and app in the world was built on top of Bootstrap. Now, it feels like there are a lot of other great options and even though Bootstrap is still very popular, I feel like new projects aren't using it as much. I'm curious if you're still using the framework - especially in a newer project and your reasons for or against Bootstrap usage.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (48)
Nope , I am not using Bootstrap anymore and I don't think I will be going back anytime soon.
Reason:Because most Bootstrap sites look really cookie-cutter and also Because stuff is easy now. Back in the day when I used Bootstrap,it was primarily for the grid system that Bootstrap offered. This was when flexbox and css grid weren't a thing and the only way of creating good looking and responsive layouts was to use floats and percentages. This seemed way too much to do on your own when all you wanted was a simple responsive website.
Flexbox changed it though, and even more did css grid. Now in 2019 both modules are well supported in all major browsers and have really simplified the process of creating responsive layouts.
Now many may argue that Bootstrap provides way more than just a flexbox based grid system like various components and utility classes.
I agree to that but when I am creating a website , I would rather prefer to create the styling and components on my own than using a framework.
This may sound ridiculous, but this is a really practical way of learning html,css and javascript and once you have done this a few times, you kind of create a front end library of your own. So the next time you have to create a component like a navbar for a new project, you simply use your library.
There are few advantages to this, first you learn a lot and real,you improve your front-end skills. Second,you know exactly how everything works(stuff like which class does what) and third , there's no unrequired code, you only use those classes that you need to.
In the end, it's all about personal preference.I personally like to create styling from scratch as I feel it gives me some additional flexibility. Bootstrap does simplify styling a lot when creating prototypes but for a portfolio website for a client? I would rather go with a tailor-made website.
If I wasn't so lazy I would have done exactly what you just proposed.
Yes I'm using it.
Why? Because that's the only framework I know.
But I'm not using the entirety of it. Like many create a whole responsive website using nothing but Bootstrap, but I'm only using some of its classes, such as ones of display,margin,padding,background/text colors,width etc. So mostly the basics.
Although it's far from perfect, some classes should have much more variants, like
w
class has only 4:w-25|50|75|100
.For cases like this, I've created my own classes, like
w-1|2|3...
, or some break-point specific classes, likew-lg-1|2|3...
Also I created classes for positioning too, such as
top-1|2|3...
/top-md-1|2|3...
, and so on.I see, so you're using the utility classes heavily. Do you use any of the components? What about the grid?
Oh I do use some of the components, I totally forgot that. It's become so natural that I'm using them, that I've really forgot they are all bootstrap components.
They are really useful, especially the modals, those are my personal favourites. But I'm using MDB's enhanced(?) version of these components.
About the grid, I don't really use it.
No, I don't use Bootstrap. Why? Because I like to build my own stuff and my own design. I'm also not the biggest fan of making everything similar. There should be a design different in different projects. The only thing I use is a self-made boilerplate for a grid system (responsive design)
I do.
Professionally speaking, because I can build fast forms with it. But personally I prefer using CSS Grid and Vanilla CSS (or Sass) instead of Bootstrap.
I started my web dev career using Bootstrap and in the last year when I learned a lot of CSS that make me analyse when I have to user Bootstrap and when not.
Same here. I feel like the Bootstrap Grid can especially help out when a developer lacks a deep CSS knowledge. But once you know flexbox or CSS grid, the need for the Bootstrap Grid is diminished.
I used to use Bootstrap, but the size and its dependency on jQuery made it feel increasingly clunky. Switched to Buefy, which has a cleaner API, results in smaller bundles, and implements Material Design.
Same here, I leave it when it went v4. I tend to use milligram.io/ clear and lean.
That's true. I'm so glad there are projects like ng-bootstrap and react bootstrap that implement it without the need for jQuery
Our current project has gone BootStrap free. We are using the HTML 5 Grid exclusively for entire site. So far the progress has been boiled down into easily repeatable css markup like this:
Tips: use repeat whenever you can with auto-fit and minmax.
The first value in minmax dictates column widths or row heights.
Use right and left margins to anchor controls so they grow/shrink based on grid only.
We also found that just about every one of our components has it's own grid layout.
This means a single page could have as many as 5-10 grids. We have not seen any performance degradation.
It took us about 2 weeks to really understand the grid...
Nice! I use grid so infrequently right now that I feel like I have to relearn it every time I go to use it haha.
That sounds like a good solution.
One other nice feature is grid areas for strategic placement.
Centering is
justify-items: center
align-items: center
I make business oriented, private apps and use bootstrap and themes on top of bootstrap a lot. While designers might not like the cookie-cutter, sameness of the templates, it's a God send for business software where less design and more practicality is necessary...
No, I don't.
I feel like I still need to know more CSS before using frameworks
That's a good mentality to have, because a deep knowledge of CSS can help you know when and where to apply the CSS frameworks.
I used to do web site la more often in the html3 and 4 days and would code my own CSS. I just learned bootstrap a month ago and my take is too use it as a reference tool or for tutorial/learning projects.
It does a lot prepackaged and that's great, if I want to do something serious or larger I like to look up their examples or classes I use often and copy those to my own CSS and make modifications.
It's great when you need it to work quick, but sometimes you need to "own" your code a little more
I have a couple of static pages that I serve from GitHub Pages. I was initially using Bootstrap, but while I was working with someone in my local tech community on Slack, he pointed out how long my page load took due to my pulling Bootstrap in its entirety (and I was only making one small usage of being able to align multiple text blocks in a single row). He suggested Barebones framework, and that is perfectly capable, and you only need to include 3 css files in your project (NO CMS). I recently changed over to MaterializeCSS framework which is a bit bulkier than Barebones, but really easy to work with.