Layout and spacing
Arrange containers and their children, choose dimensions and control the space around your content.
Choose normal flow, a flexible row or column, a grid, or a hidden container.
Arrange elements in a row or columnSet direction, wrapping and alignment on the parent container.
Create and adjust a gridChoose columns and rows, keep the cards intact and distinguish parent settings from a child span.
Choose between padding, margin and gapIdentify where the space belongs before changing a value.
Set the space inside an elementKeep text away from a card border and choose shared or separate sides.
Set margins and centre a blockAdd outside space, group sides and use automatic margins when a block is narrower than its parent.
Set the gap between layout childrenUse a regular shared distance or separate horizontal and vertical gaps.
Set dimensions and their limitsChoose whether content, the parent or the viewport determines an element size.
Adjust an element inside its containerDistinguish the parent layout from one child exception.
Set a child size and position in a row or columnChoose how one flexible child uses space, aligns and appears in visual order.
Span and align an element in a gridLet one card occupy several cells without changing the parent column count.
Handle overflowing contentCompare visible, clipped and scrollable content without deleting the text.
