All you need to know about Bootstrap 5
Tags: webdev, programming, codenewbie
Published: 2021-03-28 03:45:17

---
title: All you need to know about Bootstrap 5
published: true
date: 2021-01-10 01:16:04 UTC
tags: [webdev, Programming, codenewbie] 
canonical_url: https://www.devwares.com/blog//bootstrap-5-all-you-need-to-know
---

![Bootstrap 5](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o4dobnvehztq6hq57ltu.png)

Now that Tech is growing rapidly it is very important to learn web development. If you are already learning web development then you must have heard of the bootstrap technology especially the latest release of bootstrap 5.

![AD-BANNER](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41meil9ho9yx2ulb535m.png)

**What is bootstrap?**

Bootstrap is a CSS framework that functions as a responsive, mobile-first front-end web development. It is also free and open source. You might ask for you really need a framework. The answer to that is no. Not really but it helps to make your work easier and fast. And you get to avoid a lot of repetitive stuff. It is especially important for both newcomers and experienced developers so you can focus on the functionality of your web or app.

### Features of bootstrap with added bootstrap 5 new features.

With the arrival of bootstrap 5 alpha. It opens doors to some features that make bootstrap a leading front-end developing tool. We shall discuss the already existing features found in bootstrap.

**Easy to use**

Bootstrap is very easy to use as anyone with basic knowledge of HTML and CSS can use it

**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 allows you to feel more content-like. The sidebar was also enhanced with a Bootstrap expandable section to enable faster navigation. A new logo is also introduced, which embodies the bold B with curly braces.

**Responsive features**

Bootstrap's responsive features allow you to have CSS adjusted to mobiles, tablets, and desktops.

**Mobile-Friendly**

Bootstrap is very mobile friendly as its version 3 focuses on that.

**Simple Integration**

It is simple to integrate Bootstrap and other platforms and frameworks on existing sites and new ones. An element of Bootstrap can be used along with your CSS.

**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, leading to much faster performance and loading speed. Bootstrap has been using jQuery for eight years now and has seen that it is much easier and more efficient to discard the technology for better ones. Now bootstrap 5 has changed to vanilla JavaScript, which is far more popular.

**Pre-styled Components**

Bootstrap has already pre-styled components for bars, alerts, dropdowns, etc.

**Customizable Bootstrap**

In the previous version, Bootstrap 5 extends on the Bootstrap 4 customizable docs with a more theming page with content and code snippet for building on top of Bootstrap's source sass file. The color palette was also expanded in bootstrap 5, allowing you to customize your app without leaving the codebase quickly.

**Great grid system**

In the new Bootstrap 5 stable version, the grid system introduces the XXL features and the already existing 12-column grid system. It also has some notable changes:

- The gutter classes have been replaced with .g\* utilities. it also comes with additional features to the gird gutter spacing.
- Form layer options have been replaced with the new gird system.
- Vertical spacing has been added.

**Dropping the Internet Explorer and using more CSS properties**

Thanks to Bootstrap dropping the use of Internet Explorer they have been able to use a lot of CSS customer properties. This allows the developer to focus more on designing their desired web page without worrying about old browser support or bigger project size.

**Bundled JavaScript plugins**

In Bootstrap 5 new components, JavaScript is more easily understandable, and it bridges the gap between bootstrap 4 and bootstrap 5. The toggle state that used a bulk of HTML and CSS to make the buttons plugin was also dropped. The toggle buttons are now powered by checkboxes and radio buttons which are more reliable.

**Extensive list of components**

Bootstrap has an extended list of components pre-styled. These include; Button Groups, Navigation Bar, Breadcrumbs, Labels & Badges, Alerts, Progress Bar, And many others.

**Base styling for most HTML elements**

Bootstrap provides basic styling for your HTML element. These elements include; Typography Code, Tables, Forms, Buttons, Images, and Icons.

**Good documentation**

Bootstrap is also known to provide excellent documentation with examples and demos, making it easy for anyone to use, even a beginner.

**New SVG Icon Library**

Bootstrap 4 offered no library for icons as developers were forced to use font awesome for their icons.
While in In Bootstrap 5, the SVG icon library is introduced, making it possible to make your icons and use them in your projects.

**Utilities API**

Utilities were introduced in Bootstrap. These allowed you to control and customize the page with the global ‘\$enable-\*’ classes in bootstrap 4. In Bootstrap 5, API is introduced to the utilities. These added features also allow developers to create their API or even remove or modify utilities with this API-based approach.

<div class="w-100 px-3 text-white py-1 rounded my-3" style="background-color: #ec7474;">
  <h3>Contrast Design Bootstrap</h3>
  <p>
Windframe is a Visual builder for rapidly prototyping and building stunning webpages using tailwind CSS. Speed up your web development process and ship in minutes not weeks.
  </p>
</div>

**Conclusion**

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


  

## 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 a 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 which leads to much faster performance and loading speed. Bootstrap has been using jQuery for 8 years now and has seen that is much easier and efficient to discard the technology for better ones. Now bootstrap 5 has changed to vanilla 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 a lot of 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 were 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 don't have. Before the stable version arrives, you can now use the SVG icons for your project without having to check Google for your icons.

**Utility API**

The utility has become a way to build apps and the web. Bootstrap has decided to include these features 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 has 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 websites 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. Thats 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!](https://www.devwares.com/product/contrast-pro)

![Contrast Design Boostrap](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ulsutxnzjpbpaauhvbew.png)

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](https://www.devwares.com/product/contrast-pro)

## Resources 

- [How to create Tailwind CSS Modal](https://www.devwares.com/blog/how-to-create-tailwind-css-modal)

- [How to use tailwind css in HTML]  (https://www.devwares.com/blog/how-to-use-tailwind-css-in-HTML)

- [Why tailwind CSS is good](https://www.devwares.com/blog/why-tailwind-css-is-good)

- [How to use Tailwind CSS in Nextjs](https://www.devwares.com/blog/tailwind-css-in-nextjs)

- [How to create Tailwind CSS Components for your Website](https://www.devwares.com/blog/how-to-create-tailwind-css-components-for-your-website)

- [How to create Tailwind CSS Animation](https://www.devwares.com/blog/create-animation-with-tailwind-css/)

- [Tailwind grid-How to use tailwind CSS grid templates in your project](https://www.devwares.com/blog/how-to-add-tailwind-css-grid-to-your-project/)

- [How to create a Beautiful Responsive Navigation bar Using Tailwind CSS](https://www.devwares.com/blog/how-to-create-a-beautiful-responsive-navbar-using-tailwind-css/)

- [Tailwind form-How to create and style a Responsive Form using Tailwind CSS](https://www.devwares.com/blog/how-to-create-and-style-a-responsive-form-using-tailwindcss/)

- [Tailwind CSS Flex: How to use Tailwind CSS Flex](https://www.devwares.com/blog/how-to-use-tailwind-css-flex/)

- [How to use tailwind CSS padding, margin and border in your project](https://www.devwares.com/blog/how-to-use-tailwind-css-padding-margin-and-border-in-your-project/)

- [Tailwind CSS CDN-How to use the Tailwind CSS JIT CDN](https://www.devwares.com/blog/how-to-use-the-tailwind-css-JIT-CDN/)

- [How to set up your first Tailwind CSS Project](https://www.devwares.com/blog/setting-up-your-first-project-using-tailwind-css/)

- [How to use Tailwind CSS in HTML](https://www.devwares.com/blog/how-to-use-tailwind-css-in-HTML/)

- [Tailwind CSS table-How to Create Tailwind CSS tables](https://www.devwares.com/blog/how-to-create-tailwind-css-tables/)

- [How to set up your first Tailwind CSS Project](https://www.devwares.com/blog/setting-up-your-first-project-using-tailwind-css/)

- [Why is tailwind CSS better than other CSS framework](https://www.devwares.com/blog/why-tailwind-css-is-good/)

- [10 tailwind CSS templates and themes](https://www.devwares.com/blog/tailwind-css-10-templates-and-themes/)

- [How to add tailwind CSS colors and Fonts to your project](https://www.devwares.com/blog/how-to-add-tailwind-css-colors-and-fonts-to-your-project/)

- [Differences between Tailwind CSS and SASS](https://www.devwares.com/blog/differences-between-tailwind-css-and-sass/)

- [Differences Between Tailwind CSS and Bootstrap](https://www.devwares.com/blog/diffrences-between-tailwind-css-and-bootstrap/)

- [10 Awesome projects built with Tailwind CSS](https://www.devwares.com/blog/awesome-10-projects-built-with-tailwind/).

- [How to install Tailwind CSS in Vue.js](https://www.devwares.com/blog/how-to-install-tailwind-css-in-vuejs/).

- [How to use Tailwind CSS in React](https://www.devwares.com/blog/how-to-use-tailwind-css-in-react/)

- [How to install Tailwind CSS with Laravel](https://www.devwares.com/blog/how-to-install-tailwind-css-in-laravel/)

- [How to create react date picker](https://www.devwares.com/blog/create-datepicker-with-contrast/)

- [React bootstrap 5 form-How to create React forms](https://www.devwares.com/blog/how-to-create-and-style-a-responsive-form-using-tailwindcss/).

- [How to create a beautiful React multiselect](https://www.devwares.com/blog/create-multiselect-with-contrast/).

- [How to create a beautiful React Bootstrap progress bar](https://www.devwares.com/blog/create-progress-with-contrast/).

- [How to create a beautiful React Bootstrap select with icons](https://www.devwares.com/blog/create-select-with-contrast/).

- [How to create a beautiful Bootstrap 5 stepper](https://www.devwares.com/blog/create-stepper-with-contrast/)

- [How to create a beautiful React Bootstrap table]
(https://www.devwares.com/blog/create-tables-with-contrast/)

- [How to create beautiful React Bootstrap tabs](https://www.devwares.com/blog/create-tabs-with-contrast/)

- [How to create a Beautiful Responsive Navigation bar Using Tailwind CSS](https://www.devwares.com/blog/how-to-create-a-beautiful-responsive-navbar-using-tailwind-css/)

- [Tailwind Modal-How to create a React Modal using Tailwind CSS.](https://www.devwares.com/blog/how-to-create-a-react-modal-using-tailwind-css/)

- [How to create a Bootstrap 5 Modal.](https://www.devwares.com/blog/how-to-create-a-bootstrap5-modal/)

- [How to create a beautiful Bootstrap Data table with Icons](https://www.devwares.com/blog/create-datatable-with-contrast/)

- [How to create a React date picker.](https://www.devwares.com/blog/create-datepicker-with-contrast/)

- [React bootstrap 5 form-How to create React forms](https://www.devwares.com/blog/create-forms-with-contrast/)

- [How to use Tailwind CSS Width](https://www.devwares.com/blog/Tailwind-width/)
- [Tailwind CSS Colors 3.0](https://www.devwares.com/blog/How-to-add-color-to-Tailwind/)
- [How to Create React Tabs with Tailwind CSS](https://www.devwares.com/blog/how-to-create-react-tabs-with-tailwind-css/)
- [How to implement dark mode in React using tailwind css](https://www.devwares.com/blog/how-to-implement-dark-mode-in-tailwind-css/)
- [How to Implement a React Step Progress Bar Using Tailwind CSS](https://www.devwares.com/blog/how-to-implement-a-react-step-progress-bar-using-tailwind-css/)

- [Tailwind colors](https://www.devwares.com/tailwindcss/classes/tailwind-background-color/)
- [Tailwind Background Origin](https://www.devwares.com/tailwindcss/classes/tailwind-background-origin/)
- [Tailwind background image](https://www.devwares.com/tailwindcss/classes/tailwind-background-image/)
- [Tailwind Background Repeat](https://www.devwares.com/tailwindcss/classes/tailwind-background-repeat/)
- [Tailwind Background Clip](https://www.devwares.com/tailwindcss/classes/tailwind-background-clip/)
- [Tailwind Background attachment](https://www.devwares.com/tailwindcss/classes/tailwind-background-attachment/)
- [Tailwind Background origin](https://www.devwares.com/tailwindcss/classes/tailwind-background-origin/)
- [Tailwind background Position](https://www.devwares.com/tailwindcss/classes/tailwind-background-position/)
- [Tailwind CSS Background Size](https://www.devwares.com/tailwindcss/classes/tailwind-background-size/)
- [Tailwind Border Radius](https://www.devwares.com/tailwindcss/classes/tailwind-border-radius/)
- [Tailwind Animation](https://www.devwares.com/tailwindcss/classes/tailwind-animation/)
- [Tailwind Align Self](https://www.devwares.com/tailwindcss/classes/tailwind-align-self/)
- [Tailwind Align Items](https://www.devwares.com/tailwindcss/classes/tailwind-align-items/)
- [Tailwind CSS Z-index](https://www.devwares.com/tailwindcss/classes/Z-index/)
- [Tailwind Border Collapse](https://www.devwares.com/tailwindcss/classes/tailwind-border-collapse/)
- [Tailwind CSS Border Spacing](https://www.devwares.com/tailwindcss/classes/tailwind-border-spacing/)
- [Tailwind CSS Border Width](https://www.devwares.com/tailwindcss/classes/tailwind-border-width/)
- [Tailwind CSS Box Shadow](https://www.devwares.com/tailwindcss/classes/tailwind-box-shadow/)
- [Tailwind CSS Content](https://www.devwares.com/tailwindcss/classes/tailwind-content/)
- [Tailwind CSS Box Shadow Color](https://www.devwares.com/tailwindcss/classes/tailwind-box-shadow-color/)
- [Tailwind CSS Display](https://www.devwares.com/tailwindcss/classes/tailwind-display/)
- [Tailwind CSS Flex Grow](https://www.devwares.com/tailwindcss/classes/tailwind-flex-grow/)
- [Tailwind CSS Flex](https://www.devwares.com/tailwindcss/classes/tailwind-flex/)
- [Tailwind CSS Flex Direction](https://www.devwares.com/tailwindcss/classes/tailwind-flex-direction/)
- [Tailwind CSS Flex Grow](https://www.devwares.com/tailwindcss/classes/tailwind-flex-grow/)
- [Tailwind CSS Flex Shrink](https://www.devwares.com/tailwindcss/classes/tailwind-flex-shrink/)
- [Tailwind CSS Flex wrap](https://www.devwares.com/tailwindcss/classes/tailwind-flex-wrap/)

- [Tailwind Border Color](https://www.devwares.com/tailwindcss/classes/tailwind-border-color/)
- [Tailwind CSS Width](https://www.devwares.com/tailwindcss/classes/tailwind-width/)
- [Tailwind CSS Transform](https://www.devwares.com/tailwindcss/classes/tailwind-transform/)
- [Tailwind CSS Translate](https://www.devwares.com/tailwindcss/classes/tailwind-translate/)
- [Tailwind CSS Word Break](https://www.devwares.com/tailwindcss/classes/tailwind-word-break/)
- [Tailwind CSS Text Indent](https://www.devwares.com/tailwindcss/classes/tailwind-text-indent/)
- [Tailwind CSS Whitespace](https://www.devwares.com/tailwindcss/classes/tailwind-whitespace/)
- [Tailwind CSS Vertical Align](https://www.devwares.com/tailwindcss/classes/tailwind-vertical-align/)
- [Tailwind CSS Text Decoration](https://www.devwares.com/tailwindcss/classes/tailwind-text-decoration/)
- [Tailwind CSS Transform Origin](https://www.devwares.com/tailwindcss/classes/tailwind-transform-origin/)
- [Tailwind CSS Text Decoration Thickness](https://www.devwares.com/tailwindcss/classes/tailwind-text-decoration-thickness/)
- [Tailwind CSS Text Decoration Style](https://www.devwares.com/tailwindcss/classes/tailwind-text-decoration-style/)
- [Tailwind CSS Text Color](https://www.devwares.com/tailwindcss/classes/tailwind-text-color/)
- [Tailwind CSS Text-align](https://www.devwares.com/tailwindcss/classes/tailwind-text-align/)
- [Tailwind CSS Screen Reader](https://www.devwares.com/tailwindcss/classes/tailwind-screen-readers/)
- [Tailwind CSS Stroke](https://www.devwares.com/tailwindcss/classes/tailwind-stroke/)
- [Tailwind CSS Position](https://www.devwares.com/tailwindcss/classes/tailwind-position/)
- [Tailwind CSS Stroke Width](https://www.devwares.com/tailwindcss/classes/tailwind-stroke-width/)
- [Tailwind CSS Skew](https://www.devwares.com/tailwindcss/classes/tailwind-skew/)
- [Tailwind CSS Place-items](https://www.devwares.com/tailwindcss/classes/tailwind-place-items/)
- [Tailwind CSS Scale](https://www.devwares.com/tailwindcss/classes/tailwind-scale/)
- [Tailwind CSS Place-content](https://www.devwares.com/tailwindcss/classes/tailwind-place-content/)
- [Tailwind CSS Rotate](https://www.devwares.com/tailwindcss/classes/tailwind-rotate/)
- [Tailwind CSS Place-self](https://www.devwares.com/tailwindcss/classes/tailwind-place-self/)
- [Tailwind Padding](https://www.devwares.com/tailwindcss/classes/tailwind-padding/)
- [Tailwind CSS Overflow](https://www.devwares.com/tailwindcss/classes/tailwind-overflow/)
- [Tailwind CSS Opacity](https://www.devwares.com/tailwindcss/classes/tailwind-opacity/)
- [Tailwind CSS Order](https://www.devwares.com/tailwindcss/classes/tailwind-order/)
- [Tailwind CSS Over scroll Behaviour](https://www.devwares.com/tailwindcss/classes/tailwind-overscroll-behaviour/)
- [Tailwind Margin](https://www.devwares.com/tailwindcss/classes/tailwind-margin/)
- [Tailwind CSS Object Position](https://www.devwares.com/tailwindcss/classes/tailwind-object-positions/)
- [Tailwind CSS Object Fit](https://www.devwares.com/tailwindcss/classes/tailwind-object-fit/)
- [Tailwind CSS Max-Width](https://www.devwares.com/tailwindcss/classes/tailwind-max-width/)
- [Tailwind CSS Min-Width](https://www.devwares.com/tailwindcss/classes/tailwind-min-width/)
- [Tailwind CSS Justify Self](https://www.devwares.com/tailwindcss/classes/tailwind-justify-self/)
- [Tailwind Height](https://www.devwares.com/tailwindcss/classes/tailwind-height/)
- [Tailwind min Height](https://www.devwares.com/tailwindcss/classes/tailwind-min-height/)
- [Tailwind CSS Max-Height](https://www.devwares.com/tailwindcss/classes/tailwind-max-height/)
- [Tailwind CSS List Style Type](https://www.devwares.com/tailwindcss/classes/tailwind-list-style-type/)
- [Tailwind CSS Justify-items](https://www.devwares.com/tailwindcss/classes/tailwind-justify-items/)
- [Tailwind CSS Line-height](https://www.devwares.com/tailwindcss/classes/tailwind-lineheight/)
- [Tailwind CSS List Style Position](https://www.devwares.com/tailwindcss/classes/tailwind-list-style-position/)
- [Tailwind CSS Line Clamp](https://www.devwares.com/tailwindcss/classes/tailwind-line-clamp/)
- [Tailwind CSS Justify Content](https://www.devwares.com/tailwindcss/classes/tailwind-justify-content/)
- [Tailwind CSS Letter-spacing](https://www.devwares.com/tailwindcss/classes/tailwind-letter-spacing/)
- [Tailwind CSS Hyphens](https://www.devwares.com/tailwindcss/classes/tailwind-hyphens/)
- [Tailwind Grid](https://www.devwares.com/tailwindcss/classes/tailwind-grid/)
- [Tailwind CSS Grid Auto Flow](https://www.devwares.com/tailwindcss/classes/tailwind-grid-auto-flow/)
- [Tailwind CSS Grid Auto Columns](https://www.devwares.com/tailwindcss/classes/tailwind-grid-auto-columns/)
- [Tailwind CSS Grid Auto Rows](https://www.devwares.com/tailwindcss/classes/tailwind-grid-auto-rows/)
- [Tailwind CSS Grid Column Start/End](https://www.devwares.com/tailwindcss/classes/tailwind-grid-column/)
- [Tailwind CSS Grid Row Start/End](https://www.devwares.com/tailwindcss/classes/tailwind-grid-row/)
- [Tailwind CSS Invisibility](https://www.devwares.com/tailwindcss/classes/tailwind-invisible/)
- [Tailwind CSS Font Weight](https://www.devwares.com/tailwindcss/classes/tailwind-font-weight/)
- [Tailwind CSS Gap](https://www.devwares.com/tailwindcss/classes/tailwind-gap/)
- [Tailwind CSS Font size](https://www.devwares.com/tailwindcss/classes/tailwind-font-size/)
- [Tailwind Font Family](https://www.devwares.com/tailwindcss/classes/tailwind-font-family/)
- [Tailwind CSS Fill](https://www.devwares.com/tailwindcss/classes/tailwind-fill/)

- [Tailwind CSS Z-index](https://www.devwares.com/tailwindcss/classes/Z-index/)