Grid Columns
Use grid-cols{n}
to specify the number of equal size grid columns.
01
01
02
01
02
03
01
02
03
04
01
02
03
04
05
Code Example
<div class="grid grid-cols1 bg-black m-b3 b-br2 p3 gap2">
<div class="b-br1 bg-yellow p3">01</div>
</div>
<div class="grid grid-cols2 bg-black m-b3 b-br2 p3 gap2">
<div class="b-br1 bg-yellow p3">01</div>
<div class="b-br1 bg-yellow p3">02</div>
</div>
<div class="grid grid-cols3 bg-black m-b3 b-br2 p3 gap2">
<div class="b-br1 bg-yellow p3">01</div>
<div class="b-br1 bg-yellow p3">02</div>
<div class="b-br1 bg-yellow p3">03</div>
</div>
<div class="grid grid-cols4 bg-black m-b3 b-br2 p3 gap2">
<div class="b-br1 bg-yellow p3">01</div>
<div class="b-br1 bg-yellow p3">02</div>
<div class="b-br1 bg-yellow p3">03</div>
<div class="b-br1 bg-yellow p3">04</div>
</div>
<div class="grid grid-cols5 bg-black m-b3 b-br2 p3 gap2">
<div class="b-br1 bg-yellow p3">01</div>
<div class="b-br1 bg-yellow p3">02</div>
<div class="b-br1 bg-yellow p3">03</div>
<div class="b-br1 bg-yellow p3">04</div>
<div class="b-br1 bg-yellow p3">05</div>
</div>