Remove padding left and right on bootstrap column

0 votes
123 views
added Aug 2, 2017 in Bootstrap by anonymous
edited Aug 2, 2017 by anonymous

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>
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...