mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
12 lines
361 B
SCSS
12 lines
361 B
SCSS
// Container mixins
|
|
|
|
@mixin make-container($gutter: $container-padding-x) {
|
|
--bs-gutter-x: #{$gutter};
|
|
|
|
width: 100%;
|
|
padding-right: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-disallowed-list
|
|
padding-left: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-disallowed-list
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|