Twitter Bootstrap 4 Alpha Released - New Features

John Avis by | August 21, 2015 | Bootstrap Web Development

I've been looking forward to the release of Bootstrap 4 and finally an Alpha version has been released.
Bootstrap 4 Alpha Release

I've been looking forward to the release of Bootstrap 4 and finally an Alpha version has been released.

It's mostly good news, of course.

The only bit of bad news, which was expected, is that support for IE8 and below is not maintained. That's fine for most, but if you develop in an environment where most staff computers are still running IE8 (why, I have no idea) then it means you may have to stick with Bootstrap 3 (like me). Fortunately the developers have stated that they will continue to support Bootstrap 3.

One of the highlights for me was the introduction of an extra grid breakpoint, intended to handle smaller mobile devices. The sizes are now xs, sm, md, lg and xl.

There is another new feature for grids: hidden-*-up and hidden-*-down classes that allow you to target a range of screen sizes.

Panels and wells have been replaced with a new component - cards. All of the previous functionality is still available for the old components, there's just a new set of classes to know and some extra functionality for images, overlays, colours, alignment and link groups. Plus there's some new ways to group them and Masonary-like columns.

In typography, there's some new display headings (which can be applied to H tags) that stand out more than traditional headings.

For tables there is some additional styling of table heads but what looks most interesting to me is the ability to make tables more responsive by having columns reflow onto new rows.

There's some new helper classes for spacing so you can add zero, md or lg spacing.

Navbars have improved styling and colours, but now require some additional work to make them work on all screen sizes. Maybe this will be addressed in a future version for the moment I much prefer the v3 Navbars.

Not much change for buttons other than the addition of outline buttons.

For forms, horizontal forms no longer need an additional class, but there's some new custom form elements with fancier styles.

There are plenty of other changes, including renaming of many classes for consistency. There has been a significant reduction in file size which is also great news. This is largely due to dropping support for older browsers, and is similar to what has been done with jQuery v2 (which is also the default version for Bootstrap 4, so even more file size savings).

It's well worth looking at the alpha documentation to get an idea of what to expect. It will be great when we can switch from Bootstrap 3 to 4 for production websites.

Related Posts

Intermittent "Unable to read data from the transport connection: net_io_connectionclosed" errors

by John Avis | May 6, 2020

If you are having intermittent problems sending email in .NET using System.Net.Mail consider switching libraries.


Bootstrap Icons in Alpha

by John Avis | December 9, 2019

The Bootstrap team have introduced their own open-source icon set.


What's new in Bootstrap 4.4.0 and 4.4.1?

by John Avis | November 27, 2019

Read about the two major improvements in Bootstrap 4.4.0, released 26 November 2019.

Comments

There are no comments yet. Be the first to leave a comment!

Leave a Comment

Tags

About

...random postings about web development and programming, Internet, computers and electronics topics.

I recommend ASPnix for web hosting and Crazy Domains for domain registration.

Subscribe

Get the latest posts delivered to your inbox.