Containers are a fundamental building block of Grayshift that contain, pad, and align your content withing a given device or viewport.
Containers are the most basic layout element in Grayshift and are required when using our default 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.
Grayshift comes with two different containers:
.container, which sets a
max-widthat each responsive breakpoint
.container-fluid, which is
width: 100%at all breakpoints
.container class is a responsive, fixed-width container, meaning its
max-width changes at each breakpoint.
.container-fluid for a full width container, spanning the entire width of the viewport.