Bootstrap - Add margin to col-md columns

0 votes
219 views
added Mar 20, 2018 in Bootstrap by LC Marshal Captain (25,790 points)

1.Add a transparent border 

[class*="col-"] {
    background-clip: padding-box;
    border: 10px solid transparent;
}

2. Use Row

<div class="row">
    <div class="col-md-6">
        <div class="col-md-12">
            Set room heater temperature
        </div>
    </div>
    <div class="col-md-6">
        <div class="col-md-12">
            Set room heater temperature
        </div>
    </div>
</div>
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...