You Don't Need Bootstrap (2024)

It will come to no surprise to anybody who has heard me speak that I am no friend to Bootstrap. One of my goals with the trainings that Four Kitchens does for Responsive Web Design at various Drupal events and for companies, is to give developers the tools they need to not using Bootstrap or other similar tools. I hope to clear up why I feel that Bootstrap is the wrong tool for most websites, and what you can use instead of it.

1. Anti-patterns

First off, Bootstrap supports far too many anti-patterns. An anti-pattern is a design idea that seem good, is reproduced often, but generally are bad ideas for a website. First off, Bootstrap does not give you a truly responsive design. It supports the idea that there should be 4 breakpoints based off of the idea that we are building websites to phones, tablets and desktops. This is contrary to the idea of designing and building a site based upon content, and ensuring the site is usable, no matter the device that views it. A good example on how devices do not fit into such discrete categories is the Samsung Galaxy Mega, which is either a large smartphone, or a small tablet. The design should work with such a device, even though it is not specifically a tablet or smartphone.

This is a problem in general with class-based grid systems as well, that we are limiting ourselves. Grids should work with the content itself, not impose a class structure. We should not limit ourselves to a 12 column layout with four breakpoints.Instead, let’s design our sites around the content, creating awesome mobile-first layouts. In short: We deserve better.

2. You should use YOUR design

Bootstrap sites all look the same, and all have the same front end code that is applied. Even the themes will apply a lot of styling that you might not need. But for your site, you should have as little CSS as possible to create YOUR design. Why should you be overriding something, when you can just use your own code from the beginning?

3. Better markup

I hate having excess classes, and non-semantic classes littering my markup. I want my site to be clean, easy to read, and have as little interference as possible when I am creating markup. Besides my desire for clean markup, there are also practical reasons for not wanting this class-based system. Many CMSs, Drupal included, have their own opinion and method for printing out markup and classes and having to put Bootstrap classes throughout the markup is very difficult. Yes, it can be done, and yes, there are ways of doing it. But, it will take far more time and energy than just creating your own custom CSS from the beginning.

4. Sass makes it possible

This is the point in my arguments that I usually get the reaction of, “Yes, but I need to make quick prototypes, and I do not have the time to create custom CSS from day 1.” This was true, before the Sass community started making pluggable extensions to Compass to allow quick and easy prototypes to be made with 100% custom code. Not only can you do this with custom code, but you are writing production-ready code from day 1 with your prototype. Team Sass has done a large amount of work to allow custom grids, media queries, and styling incredibly easy. You can do it, and these tools will make it possible.

What Bootstrap is good for

I highly recommend not using Bootstrap, and would never advocate its use on a live site. That being said, it is not all bad, and has been made by a team of amazing engineers and designers to give some great ideas to the world. First off, it is a good way to learn, and see how some interesting styling and JavaScript can be used. If you are new to front end work, or want to see how responsive web design works at a fundamental level, check out the code. It is a great way of learning how fundamentally some of these front end examples work. Also, if you are building a back end administration page, that is only used internally, Bootstrap is a great tool to give you interesting UI pieces without having to do a full design. As this code will not need to be perfectly performant, and will not matter if its design steals from other UI elements, use Bootstrap.

Wrap up

Do not use Bootstrap. No, really don’t. You can do better, you can design better, and you can build your code better. Using a CSS preprocessor like Sass will allow you to still have the rapid prototyping you need, and the community tools within Sass will be your bread and butter in this regard.

You Don't Need Bootstrap (2024)

FAQs

Why you don't need Bootstrap? ›

While Bootstrap is easy to use, it's not so easy to customize as you might think. Some components will require you to use ! important several times, which is not ideal when creating CSS. And having to override the default styles of Bootstrap is just like having to create your own CSS from start.

Do you need to use Bootstrap? ›

Since Bootstrap makes it easier and faster to create responsive websites, it appeals to many front-end developers and beginners in particular. However, it's not recommended by all.

Does anyone use Bootstrap anymore? ›

According to Stackshare, Over 40,000 companies use Bootstrap. This includes Twitter, Spotify, Robinhood, Lyft, Udemy, LinkedIn and more. To learn more about Bootstrap, check out today's article where we're looking at the future of Bootstrap.

What is the problem with Bootstrap? ›

Bootstrapping is a suspicious form of reasoning that verifies a source's reliability by checking the source against itself. Theories that endorse such reasoning face the bootstrapping problem.

Is it better to use Bootstrap or CSS? ›

If you're not a designer and just want to put together a quick and easy UI for people to use, then Bootstrap might be the way to go. But, if you want complete freedom with your design and the ability to create custom designs and components easily then Tailwind CSS is the better choice.

Is it professional to use Bootstrap? ›

Bootstrap is widely used by professional web developers creating apps and sites for companies in many sectors.

Do front-end developers use Bootstrap? ›

Bootstrap is one of the most popular, widely used front-end design frameworks. It allows developers to quickly set up professional looking websites with minimal effort. It was originally built at Twitter to address inconsistencies in front-end design.

Does Bootstrap slow down your site? ›

Using Bootstrap on your project can slow down the website's load time and burden your server if you're not careful. To avoid this issue, make sure to only add the classes you need and use the minified version of the files.

What will replace Bootstrap? ›

Best Bootstrap Alternatives
  • Foundation. The most advanced responsive front-end framework in the world. ...
  • Bulma. Bulma is is a CSS framework heavily inspired by Bootstrap and based on the modern Flexible Box Module, usually referred to as flexbox. ...
  • Tailwind CSS. ...
  • HTML5 Boilerplate. ...
  • Material UI. ...
  • Metro UI. ...
  • UIKit. ...
  • Materialize.
Feb 11, 2020

What is the best alternative to Bootstrap? ›

Bootstrap Alternatives:
  1. Tailwind CSS. Tailwind CSS is a popular low-level CSS framework built around the concept of utility classes. ...
  2. Bulma. ...
  3. Materialize. ...
  4. Foundation by Zurb. ...
  5. Pure CSS. ...
  6. Element. ...
  7. Skeleton. ...
  8. Metro UI.

Is Bootstrap still relevant in 2023? ›

As of 2023, Bootstrap is still widely used and is a valuable skill to have as a web developer. Bootstrap provides pre-built CSS and JavaScript components that can be easily customized and integrated into your web projects.

Why is bootstrapping risky? ›

The most obvious risk with bootstrapping is putting your own money directly into the company. When your business takes a hit, whether due to lack of sales or an unexpected expense, it will impact you directly.

Can we replace CSS for Bootstrap? ›

css file. At any time, you can edit or remove any of your custom CSS to revert to Bootstrap's default styles or redesign your site. You can also easily switch to another version of Bootstrap (as long as it's a minor release, like 4.4) by replacing the reference to the previous stylesheet in your index. html file.

Should I learn Bootstrap or react? ›

Bootstrap vs React Comparison at a Glance. While React is known for enhancing user experience by loading web pages faster, Bootstrap helps to build mobile-friendly websites, CSS designing, HTML layouts, and JavaScript functions perform well.

Why is pure CSS better than Bootstrap? ›

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web; Pure: A set of small, responsive CSS modules that you can use in every web project. Pure is meant to be a starting point for every website or web app.

Should I put Bootstrap on resume? ›

Yes, Because Bootstrap is the most popular front end framework in the recent time. It is sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development. Who can help me create a standout resume?

Is Bootstrap considered a skill? ›

Bootstrap is a valuable skill to have as a Front-End Engineer. The best part about Bootstrap is that it builds on other front-end development skills such as CSS, HTML, and JavaScript. In fact, you can learn Bootstrap with our courses in just a few hours and start building your first Bootstrap website in no time at all.

Why do people still use Bootstrap? ›

And even today many developers use bootstrap for their projects. Bootstrap provides a very attractive frontend, and makes it easier to write the css part of a website with less amount of code. Also while using bootstrap you dont have to worry about responsives of the web pages much.

Should I learn Bootstrap or Sass? ›

"Responsiveness", "UI components" and "Consistent" are the key factors why developers consider Bootstrap; whereas "Variables", "Mixins" and "Nested rules" are the primary reasons why Sass is favored.

Do Web designers use Bootstrap? ›

Bootstrap is one of the most popular frameworks for building websites and web apps. It is a great tool for web developers and designers because it: Speeds up development. Makes responsive design easier and more consistent.

What percentage of websites use Bootstrap? ›

Bootstrap has market share of 12.30% in programming-framework market. Bootstrap competes with 84 competitor tools in programming-framework category.

Is it difficult to learn Bootstrap? ›

Experience. At first glance, Bootstrap seems quite simple. And indeed, it is not difficult to start using Bootstrap. There is a very well written Bootstrap documentation with many HTML, CSS, and JavaScript code examples.

Why is tailwind better than Bootstrap? ›

About which framework is better depends on situation and the need of your project. If your project contains more of backend work and requires common layouts, then Bootstrap will be better. While if your project requires exclusive customization and front-end work, then Tailwind CSS will be better.

Which is better HTML or Bootstrap? ›

Bootstrap and HTML5 are primarily classified as "Front-End Frameworks" and "Languages" tools respectively. "Responsiveness", "UI components" and "Consistent" are the key factors why developers consider Bootstrap; whereas "New doctype", "Local storage" and "Canvas" are the primary reasons why HTML5 is favored.

Should I use flex or Bootstrap? ›

Flexbox layout is most appropriate to an application's components and small-scale layouts, while Bootstrap is intended for smaller or larger scale layouts.

Is Bootstrap better than JavaScript? ›

As mentioned AngularJs is a Javascript-based framework that works on the MVC model. Due to which development is comparatively slower. on the other hand, Bootstrap is primarily known as CSS based framework which makes it suitable for speedy development.

Is Twitter using Bootstrap? ›

As time passed, Twitter made Bootstrap accessible, free, and open for all to use. It comes with HTML, CSS, and JavaScript-based design templates, forms, buttons, navigation, grids, and other interface components. Twitter Bootstrap makes it easy for us all to build outstanding-looking websites.

Is Bootstrap still maintained by Twitter? ›

It was renamed from Twitter Blueprint to Bootstrap and released as an open-source project on August 19, 2011. It has continued to be maintained by Otto, Thornton, a small group of core developers, and a large community of contributors.

Is Bootstrap necessary for web development? ›

Bootstrap in web development has become popular because it helps developers to create responsive websites without spending much time and effort. The Bootstrap framework is based on HTML, CSS, and JavaScript. Bootstrap is used by 22% of all websites on the internet.

Is it necessary to use Bootstrap with react? ›

Using the React-Bootstrap integration saves you time because the JavaScript elements are already there, wrapped in neat little React-shaped bows. If you opt to use Bootstrap as/is, you should be well-versed in JavaScript and JavaScript plug-ins, because you'll need to work with those components on your own.

Should I learn Bootstrap after CSS? ›

Bootstrap's syntax is straightforward and easy to understand, and its documentation is well-written and comprehensive. If you are already familiar with HTML and CSS, you should be able to learn Bootstrap fairly quickly, especially if you are comfortable with the basics of web design and development.

Why React over Bootstrap? ›

Bootstrap is a CSS framework that improves responsiveness. React is a JavaScript library and is used to improve UI. Bootstrap is based on the CSS grid system, the CSS flexbox, to improve responsiveness. React is based on pure vanillaJS to improve the UI and client-side experience.

Is React js better than Bootstrap? ›

Sometimes developers prefer to avoid this framework due to its vast library and unutilized resources, which leads to slower performance. The performance of React apps is faster and better than Bootstrap, a lightweight performance in user experience with individual components working in an exemplary functional manner.

What are the disadvantages of Bootstrap in React? ›

However, one downside of React-Bootstrap is that it can be challenging to customize the components. If you want to change the look or behavior of an element, you may need to write some CSS or JavaScript yourself.

Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 5528

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.