Il framework che aiuta gli sviluppatori a realizzare siti responsivi si avvicina al rilascio della nuova major release.
Da qualche giorno sul sito ufficiale di Bootstrap è visibile un messaggio che dice “Aww yeah, Bootstrap 4 is coming!”. Al momento la versione stable è ferma alla 3.3.5, ma è possibile provare Bootstrap 4 alpha dal seguente link.
L’ultimo post disponibile sul blog ufficiale è datato 19 Agosto, ma nelle prossime settimane potrebbe arrivare una RC, per poi avere – finalmente – la release finale di Bootstrap 4.
Sono state introdotte molte nuove features, e sul repository sono presenti oltre 1300 commits.
Di seguito alcune delle nuove funzioni che saranno disponibili in Bootstrap 4:
- 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 tool 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 it’s way.
- And tons more! Custom form controls, margin and padding classes, new utility classes, and more have also been included.