Posted in bootstrap
1263
1:45 am, December 11, 2020
 

bootstrap basic grid layout

nice and easy copy and paste for a basic grid layout

HTML

<h2>Small Grid</h2>
<div class="container">
  <div class="row">
    <div class="col-sm">
      One of three columns
    </div>
    <div class="col-sm">
      One of three columns
    </div>
    <div class="col-sm">
      One of three columns
    </div>
  </div>
</div>

<h2>Auto Grid</h2>
<div class="container">
  <div class="row">
    <div class="col">
      1 of 2
    </div>
    <div class="col">
      2 of 2
    </div>
  </div>
  <div class="row">
    <div class="col">
      1 of 3
    </div>
    <div class="col">
      2 of 3
    </div>
    <div class="col">
      3 of 3
    </div>
  </div>
</div>

Small Grid

One of three columns
One of three columns
One of three columns

Auto Grid

1 of 2
2 of 2
1 of 3
2 of 3
3 of 3

External Link for bootstrap basic grid layout

View Statistics
This Week
15
This Month
100
This Year
142

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
Interesting...

Me
Random CSS Property

flex

The flex CSS shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.
flex css reference