A container centers content and applies a responsive max-width. Use container is-fluid when edge-to-edge width is intentional (dashboards, full-bleed hero bands).
Container variants
container— responsive max-width that grows with viewportcontainer is-fluid— always 100% width with horizontal paddingcontainer is-widescreen/is-fullhd— wider caps on large monitors
Wrap page sections in semantic landmarks from HTML structure—main, header, footer—and place container inside them, not instead of them.
Self-check
- When would you pick
is-fluidover a defaultcontainer? - What does a container add besides max-width?