is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

Bootstrap class: .no-gutters

<div class="container">
  <div class="row no-gutters">
    <div class="col-12 col-sm-6 col-md-8">.col-12 .col-sm-6 .col-md-8</div>
    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
  </div>
</div>

Preview

.col-12 .col-sm-6 .col-md-8
.col-6 .col-md-4

Tips 💡

Sass source

/* _grid.scss:34 */
.no-gutters {
  margin-right: 0;
  margin-left: 0;

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

Uses variables

Code copied to the clipboard.

Copying failed

/* _grid.scss:34 */

More in Bootstrap Grid