Skip to content

Instantly share code, notes, and snippets.

@mserikov
Created October 16, 2016 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mserikov/f2213b3ef1c95e8c782527dfbd7ac6a3 to your computer and use it in GitHub Desktop.
Save mserikov/f2213b3ef1c95e8c782527dfbd7ac6a3 to your computer and use it in GitHub Desktop.
Убрать отступы в колонках bootstrap (fullwidth)
//CSS
.no-gutter > [class*='col-'] {
padding-right:0;
padding-left:0;
}
//HTML
<div class="row no-gutter">
<div class="col-md-4">
...
</div>
<div class="col-md-4">
...
</div>
<div class="col-md-4">
...
</div>
</div>
@workJOPEWER
Copy link

.row{margin:0 !important; padding:0 !important;}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment