Bootstrap CSS Classes

Bootstrap CSS 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

Are you tired of writing HTML by hand?

CSS source

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

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

More Bootstrap CSS classes in Grid category

© 2024 Shuffle. All rights reserved.