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

Bootstrap - centralizing single col-md class

0 votes
10 views
added Oct 22 in Bootstrap by LC Marshal Lieutenant (14,630 points)
<div class="col-md-8 col-md-center">
<!--col-md-8 for width size-->
<!--col-md-center for centralize class-->
.col-md-center {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

 

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.
...