Ahead of the official release of Bootstrap 4, an Alpha version has been released with the following nice features:
- Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join an increasingly large community of Sass developers.
- Improved grid system. We’ve added a new grid tier to better target mobile devices and completely overhauled our semantic mixins.
- Opt-in flexbox support is here. The future is now—switch a boolean variable and recompile your CSS to take advantage of a flexbox-based grid system and components.
- Dropped wells, thumbnails, and panels for cards. Cards are a brand new component to Bootstrap, but they’ll feel super familiar as they do nearly everything wells, thumbnails, and panels did, only better.
- Consolidated all our HTML resets into a new module, Reboot. Reboot steps in where Normalize.css stops, giving you 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, 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.
- Dropped IE8 support and moved to rem and em units. Dropping support for IE8 means we can take advantage of the best parts of CSS without being held back with CSS hacks or fallbacks. Pixels have been swapped for rems and ems where appropriate to make responsive typography and component sizing even easier. If you need IE8 support, keep using Bootstrap 3.
- Improved auto-placement of tooltips and popovers thanks to the help of a library called Tether.
- Improved documentation. We rewrote it all in Markdown and added a few handy plugins to streamline examples and code snippets to make working with our docs way easier. Improved search is also on its way.
- And tons more! Custom form controls, margin and padding classes, new utility classes, and more have also been included.
With this release, you can now design more interactive, responsive and mobile first web pages.
How do I get started with this release?
Well, it’s as simple as ever! Just open your command prompt or terminal and run one of the following commands:
npm install firstname.lastname@example.org
bower install bootstrap#v4.0.0-alpha.2
Using NuGet: (Note: You do this with Visual Studio)
Install-Package bootstrap -Pre
Install-Package bootstrap.sass -Pre
composer require twbs/bootstrap
You can equally download the zip file here
Thanks for visiting my blog!