DEV Community

Sampson Ovuoba for Devwares

Posted on • Originally published at devwares.com on

Major changes to bootstrap 5

Bootstrap 5 changes

The new bootstrap 5 has been released and has seen so many changes to it. We will be discussing these bootstrap 5 changes in details here and it's importance.

Bootstrap is the most popular front-end framework built to design modern, responsive, and dynamic interfaces for professional design web pages. Bootstrap 5 alpha is it's latest version and we are still waiting for a stable one. It was released officially on June 16, 2020.

AD-BANNER

Bootstrap 5 major changes

New look and feel for bootstrap 5

The bootstrap new version is coming with a new look. They have improved on their doc v4.5.0. Bootstrap doc pages are no longer full width, this helps to improve readability and allow to feel more content-like. The sidebar was also improved with bootstrap expandable section to enable faster navigation. A new logo is also introduced which embodies the bold B with curly braces.

Bootstrap 5 no jQuery

jQuery has been losing its popularity as most of these modern frameworks work through the virtual DOM and not on the DOM directly that leads to much faster performance and loading speed. Bootstrap has been using jQuery for 8 years now and have seen that is much easier and efficient to discard the technology for better ones. Now bootstrap 5 have changed to venilla JavaScript which is far more popular.

Dropping the internet Explorer and using more CSS properties

Thanks to bootstrap dropping the use of internet Explorer they have been able to use alot CSS customer properties. This allows the developer to focus more on designing their desired web page without worrying about old browser supports or bigger project size.

Enhanced gird system

We can already see a 12 gird column in version 4 of bootstrap. In bootstrap 5 it comes with xxl grid which is for screens more than 1400px wide. Also the Gutter classes was replaced with ‘g-’ utilities much like margin/padding utilities. ‘gx-’ or ‘gy-*’ can be used to have space between your columns and rows. Additionally, columns are no longer ‘position: relative’ by default.

You can learn more from bootstrap GitHub here.

New SVG Icon Library

Bootstrap 5 comes with awesome SVG icons which other versions doesn't have. Before the stable version arrive, you can now use the SVG icons for your project without having to check Google for your icons.

Utility API

Utility has become a way to build apps and web. Bootstrap has decided to include these feature on the new bootstrap 5 version by introducing the API utility version. This is a step forward from the previous bootstrap 4 which introduced the global $enable-* classes. This new API utility wiLl make it possible to create your own utility whenever you want while being able to remove or adjust those provided.

Updated doc.

Bootstrap have switched from their usual documentation static site Jekyll to Hugo. Bootstrap made these changes because of the slow run of Jekyll and the requirement to download ruby. Hugo has none of these problems and these makes it load website faster.

Conclusion

Bootstrap is expected to release better features in their stable version and provide developers with easy access to tools needed to make your work more artists and mobile friendly.

Create Stunning Websites and Web Apps

Building different custom components in react for your web apps or websites can get very stressful. That's why we decided to build contrast. We have put together a UI kit with over 10000+ components, 5 admin dashboards and 23 additional different pages template for building almost any type of web app or webpage into a single product called Contrast Pro. Try contrast pro!

Contrast Design Boostrap

Contrast React Bootstrap PRO is a Multipurpose pro template, UI
kit to build your next landing, admin, SAAS, prelaunch, etc. project with a clean, well documented, well crafted template and UI components. Learn more about Contrast Pro

Resources

Top comments (0)