bootstrap col inside col code example
Example 1: bootstrap grid
<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>
Example 2: row class in bootstrap
/*
In Bootstrap, the "row" class is used mainly to hold columns in it.
Bootstrap divides each row into a grid of 12 virtual columns.
In the following example, the col-md-6 div will have the width of 6/12 of the "row"s div, meaning 50%.
The col-md-4 will hold 33.3%, and the col-md-2 will hold the remaining 16.66%.
*/
<div class="row">
<div class="col-md-6"></div>
<div class="col-md-4"></div>
<div class="col-md-2"></div>
</div>
Example 3: a column inside another column bootstrap html
<div class="row">
<div class="col-sm-9">
Level 1: .col-sm-9
<div class="row">
<div class="col-8 col-sm-6">
Level 2: .col-8 .col-sm-6
</div>
<div class="col-4 col-sm-6">
Level 2: .col-4 .col-sm-6
</div>
</div>
</div>
</div>
Example 4: whatever by Clever Crane
on May 31 2020 Donate
<div class="col-lg-3 mb-4">