Sign in

Sign up

Bootstrap 4 Stable release

Summary and tutorial

It took almost 2,5 years to develop Bootstrap 4. But it's finally here!

6,000+ commits, 650+ files changed, 67,000 lines added, and 82,000 lines deleted.

We truly love it. We are sure that you will love it as well.

Bootstrap 4 tutorial Download Material Design for Bootstrap 4 Download pure Bootstrap 4

"It's literally taken us years to do it, but Bootstrap 4 has finally arrived! Words cannot begin to describe the elation the entire team and I have for this release, but I'll do my best. Thank you to everyone, especially to the team, and to everyone who’s contributed code in a pull request or opened an issue. Thank you."

Mark Otto, Bootstrap founder

The most important changes

Dropped IE8, IE9, and iOS 6 support

Dropped IE8, IE9, and iOS 6 support. v4 is now only IE10+ and iOS 7+.

Flexbox by default

Bootstrap 4 is now flexbox by default! Flexbox is an immensely powerful layout tool, providing unparalleled flexibility and control to Bootstrap grid system and core components. It comes at the cost of dropping IE9 support, but brings significant improvements to component layout, alignment, and sizing.

Switched from Less to Sass

Bootstrap now compiles faster than ever thanks to SASS. It also became much more intuitive and flexible.

Switched from px to rem

Now everything in Bootstrap 4 is dynamic and relative to the root html element. That is extremely useful thing which makes easier for mobile devices to scale up or down.

Enhanced grid system

The new grid is now powered by flexbox and rem units, which make it extremly powerful and flexible tool.

Don't be afraid, it won't be difficult to learn. Follow our tutorial and you will fall in love with the new Bootstrap grid.

New components

Dropped panels, thumbnails, and wells for a new all-encompassing component - cards.

Font Awesome instead of Glyphicons

Improved forms, buttons, dropdowns, navbars, modals, tables, pagination, tooltips, carousel and many more.

Enhanced documentation

Huge, detailed user-friendly documentation will help you implement your ideas fast and easily.


Each plugin has been rewritten in ES6 to take advantage of the newest JavaScript enhancements.

They also with UMD support, generic teardown methods, option type checking, and tons more. This means that maintaining the plugins will be a lot easier and their development much faster.

Improved utilities

Helpers included in Bootstrap 4 will solve a lot of annoying issues, so common in daily work of each developer. It will definitely make our life easier.

Droped Normalize.css

Normalize.css has taken a different path than we’d prefer, dropping some core CSS tweaks we’ve long depended upon. Reboot takes the core of Normalize.css and expands it to include more opinionated resets like box-sizing: border-box, margin tweaks, and more all in a single Sass file.

Brand new customization options

Instead of relegating style embellishments like gradients, transitions, shadows, grid classes, and more to a separate stylesheet like v3, we’ve moved all those options into Sass variables. Want default transitions on everything or to disable rounded corners? Simply update a variable and recompile.

New build tools

Completely rewritten in npm scripts instead of Grunt, immensely simplifying the process of developing and contributing to Bootstrap.

Frequently asked questions

Click on the question below to expand

According to Bootstrap Team - yes, it is safe and recommended.

It seems that all the most significant changes have been already applied.

Bootstrap 4 is lighter and easier. And thanks to improvements such like flexbox, it's more powerful than even before.

The future definitely belongs to Bootstrap 4. That's why my answer is: Bootstrap 4 is better than Bootstrap 3.

The fact worth of noticing: Bootstrap team announced they stop developing Bootstrap 3 and focus entirely on Bootstrap 4.

Oh, that question is easy. You definitely should learn Bootstrap 4 and flexbox, because this it the future.

If you ask, why not to learn Bootstrap 3 if it's still in use, consider that:

Bootstrap team announced they stop development of Bootstrap 3 and focus entirely on Bootstrap 4.

It will be maintained although not developed. The situation will be probably similar to Bootstrap 3 and 2:

- some old, huge and hard to migrate projects will keep Bootstrap 3 but the vast majority od developers will switch to Bootstrap 4.

And finaly, as it happened to Bootstrap 2, Bootstrap 3 finally will be forgotten.

It will be maintained although not developed. The situation will be probably similar to Bootstrap 3 and 2:

- some old, huge and hard to migrate projects will keep Bootstrap 3 but the vast majority of developers will switch to Bootstrap 4.

And similarly to Bootstrap 2, Bootstrap 3 finally will be forgotten.

The fact worth of noticing: Bootstrap team announced they stop developing Bootstrap 3 and focus entirely on Bootstrap 4.

Ok, let's clarify - flexbox isn't a wonderful remedy for all aches and pains of web development problems (like it sometimes seems to be).

Nevertheless - it's really great and useful tool that allows elements to align and distribute space within a container.

It's definitely something worth of learning and using.

Learn more about Bootstrap 4

Bootstrap 4 tutorial

The complete and easy guide will teach you how to create stunning, responsive website and apps. Each lesson is provided with series of practical examples and each of those examples brings an essential web design knowledge.


Material Design for Bootstrap 4

400+ material UI elements, 600+ material icons, 74 CSS animations, SASS files, templates, tutorials and many more.

Available jQuery, Angular, React and Vue versions.

Free download

Share that happy news!

Detailed list of changes

There are no breaking changes since our last beta, but we have made some key improvements and resolved some tricky bugs.

  • Print styles and utility classes have been updated. We've improved how printed pages are rendered to ensure pages are reasonably sized instead of rendering them as mobile devices. Print display utilities also include a whole slew of new display values to match our standard display utilities.

  • Additive border utilities have been added (e.g., .border-top) and default to a solid 1px light gray border. Now it's easier to quickly add all borders or a subset of borders to your components.

  • Our $spacers and $sizes Sass maps have been updated to allow more customization the same way our color maps work. You can now add, remove, or replace all your key-value pairs consistently across our CSS. Head to our Theming docs for more information and examples.

  • Added documentation to our Theming docs for using our provided CSS variables for those are living on the edge and don’t want to use Sass.

  • Added responsive .order-0 and .order-last classes for more control over the flexbox grid.

In addition, we’ve made plenty of improvements to reusing and extending variables and general code cleanup. But, that’s still not everything.

New examples

Nearly every example has been overhauled for our stable v4 release. We’ve removed a couple outdated examples, added brand new ones, and really overhauled a few others.

Bootstrap examples

Here’s the rundown of changes to each:

  • You’ve likely already seen our Album example, but it’s been updated for this release to include more content in our photo cards and improved mobile rendering.

  • Pricing is brand new with this release and is a fully custom page built with our utilities and card components. It’s responsive and easily extended.

  • Checkout is a brand new, extensive form example featuring all the best parts of our form layouts, validation styles, grid, and more.

  • Product is also new and is a cheeky riff on Apple-style marketing pages, largely built with only our utility classes. Don’t take it too seriously!

  • Blog has been rewritten from the ground up. Gone is the two column blue header layout. We’ve built a snarky magazine style layout with featured posts and responsive navigation.

  • Dashboard has been overhauled as well to feature a live ChartJS example, includes a refreshed sidebar with Feather icons, and is semi-responsive.

  • Floating labels is brand new and builds on our sign-in example to provide a CSS-only implementation of the floating input label. This one’s experimental and may see major changes before we bring it to Bootstrap proper.

  • Finally, Offcanvas has been rewritten from the ground up to show off a navbar-built drawer, horizontal scrolling navigation, and some custom lists built on media component and utilities.

Cover, Carousel, Sign-in, and our framework examples only saw minor updates to improve code quality and fix a few smaller bugs. Overall this was a huge update for our examples and I’m excited to iterate on these and add more in future releases.

Documenting our approach

New with v4 stable is a brief overview of some of the guiding principles behind why we do the things we do in Bootstrap. Our intent is to distill and document all the things we keep in our heads while writing code, building linters, and debugging. Much of this is focused on concepts and strategies for writing responsive CSS, using simple selectors, and limiting how much JavaScript one needs to write.

Check out the new Approach page, and be sure to open an issue or pull request with feedback and suggestions on what else to cover.

Known issues

No release fixes every bugs, and the same can be said for our v4 stable release. Here's some of the things that we're looking to tackle first in either a minor release (v4.1) or a patch release (v4.0.1) as time and scope allow.

  • Input groups, validation, and rounded corners. I rewrote this for Beta 3 and I thought nailed it, but I was mistaken. We have some rounded corner issues and the only way we can fix them with CSS without breaking backward compatibility is by limiting how extensible the component can be made. We may need a modifier class to avoid some gnarly CSS and satisfy all the key functionality. Check out the issue and cross linked PR for more deatils.

  • Table variants, in particular .table-active, have a weird selector we've unintentionally left linger since prior releases. The bug results in double application of an rgba() background color—once for the <tr> and once for any <td>/ <th> elements within.

There are a few more issues not yet confirmed or slated for our first patch release, but expect a handful of fixes coming your way before we hit the next minor release. We'll likely also package up the default branch change for our repository in this next patch release. We didn't have time to fit in testing a merge of a hugely divergent code base without nuking the entire Git history of v3. Again, more on that soon.

Next releases

Speaking of releases, we’re excited about the momentum we have going for us. Our GitHub project boards are mostly up to date on upcoming releases, so feel free to jump in and take a look. Our next release will be v4.1 (pending any bug fix patches) and will focus on a slew of small new features, utilities, responsive font sizes, and more. From there we have a couple more minor releases that rally around another group of features.

We aim to make RTL part of an upcoming minor release depending on overall scope. It’s taken us far too long to commit to this, but we’re on it. Our current plan is focused on implementing this into our build tools and components so you conditionally serve, for example, bootstrap.min.css or bootstrap-rtl.min.css. Weigh in on the open issue please with any feedback; when we’re ready, we’ll tee up a fresh pull request with help from the community.

It's worth reiterating that each minor release will bring a new hosted version of our documentation. Right now, we have and come v4.1's release, we'll have that plus Prior releases will be continue to be linked from our navigation as is already the case for v3.x and the last v4 alpha.

Themes update

Bootstrap Themes are getting a major update this year! We've been absolutely thrilled with the response since we originally launched Bootstrap Themes and we're finally ready to share our plans for what's next.

For the past few months, we’ve been working with some amazing theme creators to bring their awesome work to the Official Bootstrap Themes store. We couldn't be more excited to announce we’re expanding Bootstrap Themes to include ten brand new themes. We’re currently targeting a first quarter launch with themes all built on Bootstrap 4 (sorry, no v3 for these). Depending on final reviews, we might even get them to y'all in the coming weeks.

So much of Bootstrap’s reach and usefulness comes directly from designers, developers, and creators all over the world building businesses with and on top of Bootstrap. We want to use our platform to give these creators an even larger audience and provide y'all with the best Bootstrap team-approved themes.

Stay tuned for more information as we get ready to launch.

Thank you

Finally, one last thank you to everyone who’s contributed to Bootstrap 4. It’s been a crazy journey and I’m personally relieved, thrilled, and anxious to call it stable. There have been roughly 6,000 commits to v4 since we first starting working on it back in 2015. We’ve gone every which direction and rewrote far too many things far too many times, but I’m so very happy and fortunate with where we landed.

Cheers once again to everyone who’s contributed to and built with Bootstrap. It’s an honor to be building these kind of tools alongside and for all of you.