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:
| Class | max-width |
|---|---|
.container-sm | 576px |
.container-md | 768px |
.container-lg | 992px |
.container-xl | 1200px |
.container-xxl | 1400px |
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;