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

Remove padding left and right on bootstrap column

0 votes
33 views
added Aug 2, 2017 in Bootstrap by FeruzRahim Lance Corporal (780 points)

Add the following new class on top of your Bootstrap LESS / SASS:

CSS

.row-padding-0 {
  [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
}


HTML

<div class="row row-padding-0">
</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.
...