Twitter Bootstrap 4 Alpha Released - New Features

johna by | August 21, 2015 | Bootstrap Web Development

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

Web Development

How to set up a debugging using the Turnkey Linux LAMP stack and VS Code

by johna | December 19, 2023
The second part in my guide to setting up a website and database using the Turnkey Linux LAMP stack.

Website Hosting Web Development

How to set up a website and database using the Turnkey Linux LAMP stack

by johna | November 18, 2023
If you need to host your own website for the purposes of web development, Turnkey Linux LAMP Stack is an easy to install all-in-one solution that you can set up on a spare computer or a VM (Virtual Machine).

Bootstrap

How I use the new Bootstrap Icons web font

by johna | January 7, 2022
But using a free online tool, you can create your own web font with just the Bootstrap icons you need.

Comments

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

Leave a Comment

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.