A Bootstrap Birthday

AUGUST 19 is a special day for Bootstrap. It is no coincidence that Bootstrap 4 alpha was released to the public, exactly four years after their first official announcement of bootstrap v1.

  Submitted by Akhil Sugunan, BDE - 3E IT Solutions


Bootstrap 4 has been a massive undertaking that touches nearly every line of code. I am  stoked to share it with you and hear your feedback.   So let’s jump right into it.

What’s new

There are a ton of major changes to Bootstrap and it’s impossible to cover them all in detail here, so here are some of my favourite highlights:

  •  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. It has 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 : borderbox, 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.

  • Rewrote all JavaScript plugins. Every plugin has been rewritten in ES6 to take advantage of the newest JavaScript enhancements. They also now come with UMD support, generic teardown methods, option type checking, and tons more.

  • 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 there is more..! Custom form controls, margin and padding classes, new utility classes, and more have also been included.

And that barely scratches the surface of the 1,100 commits and 120,000 lines of changes in v4 so far. Plus, they are not even done yet!

Development plan

They need our help to make Bootstrap 4 the best it can be. Starting today, the source code for v4 will be available in a V4-Dev branch on Git Hub. In addition, they  have a V4 development and tracking pull request that includes a master checklist of changes they’ve made and a remaining list of possible todos.

The general development and release plan looks something like this:

  • A few alpha releases while things are still in flux.
  • Two beta releases after features and functionality are locked down to really test things out.
  • Two release candidates (RCs) to really test things out closer to production environments.
  • Then, the final release!

 Supporting v3

Unlike the big pain caused  by the discontinuation of v2.x when Bootstrap 3 was released, this time the transition is a whole lot better.  For the foreseeable future, they’ll be maintaining Bootstrap 3 with critical bug fixes and documentation improvements. v3 docs will also continue to be hosted after v4’s final release.

One more thing…

In addition to shipping the first Bootstrap 4 alpha, Aug19th also marks the launch of official Bootstrap Themes.  All themes include a multiple use license for the purchaser and free updates for bug fixes and documentation updates for the life of the themes.  A good reason to get started, wouldn’t you say? 

3E is a full service Web and Mobile App development company that specializes in hybrid and native app development using HTML5, AngularJS, iOS and Android. With a talented creative team and certified developers, 3E has a diverse portfolio drawn from more than ten years of experience. Their services include: responsive design, web app development, mobile app development, social media, video production, testing and Odoo EPR implementation.