Container

A container controls the readable width of a page while allowing the viewport to grow around it. You can build one with CSS Grid and media queries, without adopting a framework-wide container width or breakpoint scale. Microbe intentionally does not provide a container module because those values are part of your page's layout.

Centered content

For a simple centered container, let the block fill smaller viewports, cap it with max-width, and center it with margin-inline: auto. Choose breakpoint-specific widths based on when your content needs more room, not on a particular device.

The content stays centered and gains space only when the viewport is wide enough.

The content spans the full width.

The content stays centered and gains space only when the viewport is wide enough.