1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/scss/mixins/_container.scss

12 lines
361 B
SCSS
Raw Normal View History

2020-02-03 15:02:53 -05:00
// Container mixins
@mixin make-container($gutter: $container-padding-x) {
--bs-gutter-x: #{$gutter};
2020-02-03 15:02:53 -05:00
width: 100%;
2020-09-28 07:57:48 -04:00
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
2020-02-03 15:02:53 -05:00
margin-right: auto;
margin-left: auto;
}