🌐
Bootstrap
getbootstrap.com › docs › 5.0 › layout › grid
Grid system · Bootstrap v5.0
There's a newer version of Bootstrap! ... Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, six default responsive tiers, Sass variables and mixins, and dozens of predefined classes.
🌐
Bootstrap
getbootstrap.com › docs › 5.0 › examples › grid
Grid Template · Bootstrap v5.0
No grid classes are necessary for full-width elements. Per the documentation, nesting is easy—just put a row of columns within an existing column. This gives you two columns starting at desktops and scaling to large desktops, with another two (equal widths) within the larger column. At mobile device sizes, tablets and down, these columns and their nested columns will stack. ... The Bootstrap ...
🌐
W3Schools
w3schools.com › bootstrap5 › bootstrap_grid_basic.php
Bootstrap 5 Grid Basic
BS5 Grid System BS5 Stacked/Horizontal ... Interview Prep BS5 Certificate ... Bootstrap's grid system is built with flexbox and allows up to 12 columns across the page....
🌐
Bootstrap
getbootstrap.com › docs › 5.1 › layout › css-grid
CSS Grid · Bootstrap v5.1
The .grid class sets display: grid and creates a grid-template that you build on with your HTML. Replace .col-* classes with .g-col-* classes. This is because our CSS Grid columns use the grid-column property instead of width. Columns and gutter sizes are set via CSS variables. Set these on the parent .grid and customize however you want, inline or in a stylesheet, with --bs-columns and --bs-gap. In the future, Bootstrap will likely shift to a hybrid solution as the gap property has achieved nearly full browser support for flexbox.
🌐
W3Schools
w3schools.com › bootstrap5 › bootstrap_grid_examples.php
Bootstrap 5 Grid Examples
BS5 Grid System BS5 Stacked/Horizontal BS5 Grid XSmall BS5 Grid Small BS5 Grid Medium BS5 Grid Large BS5 Grid XLarge BS5 Grid XXL BS5 Grid Examples · BS5 Basic Template BS5 Editor BS5 Exercises BS5 Quiz BS5 Syllabus BS5 Study Plan BS5 Interview Prep BS5 Certificate ... Below we have collected some examples of Bootstrap 5 grid layouts.
🌐
MDBootstrap
mdbootstrap.com › standard › grid system
Bootstrap 5 grid system - examples and tutorial
Responsive grid built with the latest Bootstrap 5. Grid is a system for building mobile-first layouts with flexbox containers, rows & columns.
🌐
Bootstrap
getbootstrap.com › docs › 5.3 › examples › grid
Grid Template · Bootstrap v5.3
At mobile device sizes, tablets and down, these columns and their nested columns will stack. ... The Bootstrap v5 grid system has six tiers of classes: xs (extra small, this class infix is not used), sm (small), md (medium), lg (large), xl (x-large), and xxl (xx-large).
🌐
Bootstrap
getbootstrap.com › docs › 5.2 › examples › grid
Grid Template · Bootstrap v5.2
At mobile device sizes, tablets and down, these columns and their nested columns will stack. ... The Bootstrap v5 grid system has six tiers of classes: xs (extra small, this class infix is not used), sm (small), md (medium), lg (large), xl (x-large), and xxl (xx-large).
🌐
Bootstrap
getbootstrap.com › docs › 5.0 › forms › layout
Layout · Bootstrap v5.0
Give your forms some structure—from inline to horizontal to custom grid implementations—with our form layout options.
Find elsewhere
🌐
W3Schools
w3schools.com › bootstrap5 › bootstrap_grid_system.php
Bootstrap 5 Grid System
BS5 Grid System BS5 Stacked/Horizontal ... Interview Prep BS5 Certificate ... Bootstrap's grid system is built with flexbox and allows up to 12 columns across the page....
🌐
WebNots
webnots.com › home › web tutorials › web design › bootstrap › how to use bootstrap 5 grid layouts?
How to Use Bootstrap 5 Grid Layouts? – WebNots
June 13, 2021 - Grid layout system is the heart of responsive Bootstrap 5 framework. Here is a step by step tutorial on basics of Bootstrap 5 grid layout system to create different types of columned layouts using responsive five tier breakpoints system.
🌐
GeeksforGeeks
geeksforgeeks.org › bootstrap › bootstarp-5-layout-grid-system
BootStrap 5 Layout Grid System - GeeksforGeeks
July 23, 2025 - There are 12 template columns available per row, allowing you to create different combinations of elements that span any number of columns. Gutters are also responsive with customizable available across all breakpoints. We can change horizontal gutters with .gx-* and vertical gutters with .gy-* ... Grid options: Bootstrap’s grid system works for all six breakpoints i.e xs, sm, md, lg, xl, xxl.
🌐
FreeFrontend
freefrontend.com › bootstrap-grid-examples
29 Bootstrap Grid Examples
January 1, 2025 - A clever Bootstrap 5 grid hack enabling a split layout where an image extends to the viewport edge (fluid) while text stays within the standard grid (container).
🌐
Mobirise
mobirise.com › bootstrap-template › grid-template.html
Bootstrap Grid Template. Generate any template with AI.
Free AI Bootstrap 5 Grid Template and 9900+ Bootstrap HTML CSS Examples, Pages and Codes. Free Download!
🌐
Designmodo
designmodo.com › home › resources › bootstrap › understanding bootstrap 5 layout
Understanding Bootstrap 5 Layout
June 6, 2024 - Bootstrap offers a responsive, mobile-first fluid grid system that adequately scales up to 12 columns as the screen or viewport size increases. It’s jam-packed with predefined classes for easy layout creation, as well as useful mixins for ...
🌐
Stack Overflow
stackoverflow.com › questions › 78733067 › bootstrap-5-responsive-layout-cards-grid-columns-how-to
html - Bootstrap 5 Responsive Layout cards / grid / columns, how to? - Stack Overflow
The Bootstrap grid consists always of 12 columns. Your grid in the picture has 7 columns. 7 columns can't be fit into 12 (1,2,3,4,6 could). So you're left to write your own grid. First, you need a container and create a 7-column layout. You can do that by using this CSS: .container { display: grid; grid-template...
🌐
Tutorial Republic
tutorialrepublic.com › twitter-bootstrap-tutorial › bootstrap-grid-system.php
Understanding the Bootstrap 5 Grid System - Tutorial Republic
Similarly, you can use the .col-md-* classes to create grid columns for medium screen devices like tablets, the .col-lg-* classes for devices like small laptops, the .col-xl-* classes for laptops and desktops, and the .col-xxl-* classes for large desktop screens. The following table summarizes the key features of the Bootstrap's grid system.
🌐
Froala
froala.com › home › how to switch up grids by making 5-column bootstrap layouts
How to Switch up Grids by Making 5-Column Bootstrap Layouts
November 27, 2025 - Learn how to switch up your layout with this guide to creating flexible, responsive 5-column Bootstrap grid systems for modern web design.
Top answer
1 of 16
78

5 Columns with Bootstrap 4

Here is 5 equal, full-width columns (no extra CSS or SASS) using the auto-layout grid..

<div class="container-fluid">
    <div class="row">
        <div class="col">1</div>
        <div class="col">2</div>
        <div class="col">3</div>
        <div class="col">4</div>
        <div class="col">5</div>
    </div>
</div>

http://codeply.com/go/MJTglTsq9h

This solution works because Bootstrap 4 is now flexbox. You can get the 5 colums to wrap within the same .row using a clearfix break such as <div class="col-12"></div> or <div class="w-100"></div> every 5 columns.

Update 2020

As of Bootstrap 4.4, you can also use the row-cols-5 class on the row...

<div class="container">
    <div class="row row-cols-5">
        <div class="col">
            X
        </div>
        <div class="col">
            X
        </div>
        <div class="col">
            X
        </div>
        <div class="col">
            X
        </div>
        <div class="col">
            X
        </div>
        <div class="col">
            X
        </div>
    </div>
</div>

https://codeply.com/p/psJLGuBuc3

2 of 16
59

UPDATE, 2021: for modern Bootstrap (4+), I recommend Zim's answer due to it's natural way of using Bootstrap flex classes

.col-xs-2{
    background:#00f;
    color:#FFF;
}
.col-half-offset{
    margin-left:4.166666667%
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
    <div class="row" style="border: 1px solid red">
        <div class="col-xs-2" id="p1">One</div>
        <div class="col-xs-2 col-half-offset" id="p2">Two</div>
        <div class="col-xs-2 col-half-offset" id="p3">Three</div>
        <div class="col-xs-2 col-half-offset" id="p4">Four</div>
        <div class="col-xs-2 col-half-offset" id="p5">Five</div>
        <div>lorem</div>
    </div>
</div>

This should be ok.

🌐
Bootstrap
getbootstrap.com › docs › 5.3 › layout › grid
Grid system · Bootstrap v5.3
Use our powerful mobile-first flexbox ... of predefined classes. ... Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content....