Default flow
This paragraph introduces the section.
The following content remains visually grouped.
Tight flow
Use tight flow in cards or sidebars.
Loose flow
Use loose flow between landing-page sections.
Layout
The .flow layout adds consistent vertical spacing between direct children, keeping sections readable without individual margins.
class="flow" to a parent.--flow-space custom property globally or override it on a specific flow container. The default value is ..flow with .flow-tight for compact spacing or .flow-loose for larger spacing.This paragraph introduces the section.
The following content remains visually grouped.
Use tight flow in cards or sidebars.
Use loose flow between landing-page sections.
The value of --flow-space inherits through descendant elements. Setting it on a parent therefore changes any nested flow container that uses --flow-space, unless a descendant sets its own value. By contrast, .flow-tight and .flow-loose apply spacing only between the direct children of the element they are added to. They do not affect nested flow containers.
Flow applies by default to:
main, article, and section..card, .alert, menu containers, and modal content.This card overrides the default flow spacing with 1.75em.