Need an edge-to-edge design? Drop the parent .container or .container-fluid.
Still if you need to remove padding from .row and immediate child columns you have to add the class .no-gutters with the code from @Brian above to your own CSS file, actually it's Not 'right out of the box', check here for official details on the final Bootstrap 4 release: https://getbootstrap.com/docs/4.0/layout/grid/#no-gutters
You should use built-in bootstrap4 spacing classes for customizing the spacing of elements, that's more convenient method .
Still if you need to remove padding from
.row
and immediate child columns you have to add the class.no-gutters
with the code from @Brian above to your own CSS file, actually it's Not 'right out of the box', check here for official details on the final Bootstrap 4 release: https://getbootstrap.com/docs/4.0/layout/grid/#no-guttersBootstrap4: Comes with
.no-gutters
out of the box. source: https://github.com/twbs/bootstrap/pull/21211/filesBootstrap3:
Requires custom CSS.
Stylesheet:
Then to use:
It will:
You can use this css code to get gutterless grid in bootstrap.
You can use the mixin
make-col-ready
and set the gutter width to zero:@include make-col-ready(0);