0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Bootstrap/scss/mixins/_container.scss

10 lines
265 B
SCSS
Raw Normal View History

2020-02-03 21:02:53 +01:00
// Container mixins
@mixin make-container($gutter: $container-padding-x) {
2020-02-03 21:02:53 +01:00
width: 100%;
padding-right: var(--#{$variable-prefix}gutter-x, #{$gutter});
padding-left: var(--#{$variable-prefix}gutter-x, #{$gutter});
2020-02-03 21:02:53 +01:00
margin-right: auto;
margin-left: auto;
}