What you notice first in Bootstrap 4 is that
.well have been replaced by the
.card. This makes a lot of sense as "cards" are one of the more well known trends in responsive design.
The Bootstrap 4 Cards can be singular, grouped together (as shown) or equal height. There are many different layout and content options.
Cards are a good way to display content composed of different types of objects. They’re well-suited for presenting similar objects whose size or supported actions vary, like headings and photos with captions.
Use card groups to render equal height cards without gutters between the cards. Use
.card-deck for cards that aren’t attached to each another.
A frequent problem occurs when you have multiple items in a row with content of varying height. Thanks to flexbox (and display:table) we now have equal height cards!
Kick start your Bootstrap 4 project with any of these free templates & examples that utilize various parts of the framework. We will continually update these, and add new examples as Bootstrap 4 nears a production-ready release.
To accomodate a variety of devices and screen widths
Text is larger in Bootstrap 4. The default font size is now 16px. There are also new "Display headings" that really stand out. The new `rem` based sizing is an improvement too.
The new Bootstrap 4
.navbar code is lighter. You can make it responsive using the Collapse component and
.navbar-toggleable-* classes that enable you to control the breakpoint.
Some components have been removed from Bootstrap 4. The Glyphicons icon fonts are no longer included, but it's easy to utilize another font like FontAwesome, Octicons or Ionicons. The Affix jQuery plugin has also been dropped. The new recommendation is to use HTML5 position: sticky or a sticky polyfill instead.
text-capitalizeCapitalize each word
text-lowercaseThere is lowercase too
list-inline > li=
carousel-inner > item=
Several simple, but useful utility classes have been added like text, margin and padding helpers. There are also contextual colors and responsive utility classes to hide content on specific breakpoints.
To get the full rundown on What's New in Bootstrap 4 check out these helpful articles and upgrade tips.
We love feedback. Fill out the form below and we'll get back to you as soon as possible.