Skip to content

Container

Containers are the most basic layout element and are required when using the grid system. Containers are used to contain, pad, and (sometimes) center the content within them. While containers can be nested, most layouts do not require a nested container.

The basic container is a fixed width proportionate to screen size.

<div class="container">This is some content</div>

It is also possible to add a .container--fluid class to your container and it will have a max width of 100vw regardless of screen size.

<div class="container container--fluid">This is some content</div>