The design shown below was created in photoshop
utilizing a 12 grid system
:
https://i.sstatic.net/MSGHc.jpg
I am attempting to replicate this layout using bootstrap
with class='col-md-3'
for each input
. However, when I do this, they appear next to each other. When I try to add a margin
, only 3 divs
are displayed per row instead of all four. Am I missing something here? I thought bootstrap automatically added margins for columns.
<div class="songs col-md-3"><input type="checkbox" name="chk_spirit" value="Bleeding Love">Bleeding Love</div>
<div class="songs col-md-3"><input type="checkbox" name="chk_spirit" value="Better in Time">Better in Time</div>
<div class="songs col-md-3"><input type="checkbox" name="chk_spirit" value="Angel">Angel</div>
<div class="songs col-md-3"><input type="checkbox" name="chk_spirit" value="I Will Be">I Will Be</div>