Flexbox support

Flexbox support has finally come to Bootstrap in Bootstrap 4. To enable various components and grid systems to use Flexbox, you can download the Flexbox version of the Bootstrap CSS file, which is available on their download page: http://v4-alpha.getbootstrap.com/getting-started/download/.

Remember that Flexbox has poor browser support, so think twice before deciding to use it. Here is a diagram that shows the browser support of Flexbox:

Flexbox support

You can also change the value of the $enable-flex to true Sass variable and compile it to generate the Flexbox version of the Bootstrap CSS.

Learn more about Flexbox support in Bootstrap 4 at http://v4-alpha.getbootstrap.com/getting-started/flexbox/ ...

Get JavaScript: Moving to ES2015 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.