Skip to main content

Containers

To have a clean layout using containers to limit the width will be a practical example, there are some predefined container classes that you can use:

Classmax-width
.container-sm576px
.container-md768px
.container-lg992px
.container-xl1200px
.container-xxl1400px

Every container also gets 0.64em padding on the left and right, and is centered with auto margins. If you do not want them centered, set $CENTERED_CONTAINERS: false in your Sass config.

These classes are generated based on the $RESPONSIVE_BREAKPOINTS variable inside the _config.scss file:

_config.scss
$RESPONSIVE_BREAKPOINTS: (
xs: 575.98px,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1400px,
) !default;