PIbd-22.-Stroev-V.M.-Intern.../Lab2/node_modules/bootstrap/scss/mixins/_container.scss
2023-10-28 00:49:09 +03:00

12 lines
410 B
SCSS

// Container mixins
@mixin make-container($gutter: $container-padding-x) {
--#{$prefix}gutter-x: #{$gutter};
--#{$prefix}gutter-y: 0;
width: 100%;
padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
margin-right: auto;
margin-left: auto;
}