Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

Bootstrap - Add margin to col-md columns

0 votes
6 views
added Mar 20, 2018 in Bootstrap by LC Marshal Lieutenant (18,470 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>

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...