bootstrap two columns code example
Example 1: col offset in bootstrap
.col-md-3 .offset-md-3
Example 2: 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 3: .col-6 bootstrap
.col-6{
flex: 0 0 50%;
max-width: 50%;
}
Example 4: boot strap columns
<div class="container">
<div class="row">
<div class="col">
1 of 3
</div>
<div class="col-6">
2 of 3 (wider)
</div>
<div class="col">
3 of 3
</div>
</div>
<div class="row">
<div class="col">
1 of 3
</div>
<div class="col-5">
2 of 3 (wider)
</div>
<div class="col">
3 of 3
</div>
</div>
</div>
Example 5: .row bootstrap
.row{
display: flex;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
Example 6: whatever by Clever Crane
on May 31 2020 Donate
Comment
<div class="col-lg-3 mb-4">