normal flow
The default way boxes are laid out when no flex or grid is used: blocks stack top to bottom and inline content flows left to right in lines.
In more detail
Understanding normal flow explains behaviours like margin collapsing and why a span ignores width. Flexbox and grid switch children to different layout rules.
Related terms
- display — The CSS property that sets how an element takes part in layout, such as block, inline, flex, grid or none.
- block formatting context — A self-contained layout region in which blocks are laid out one after another and whose margins do not collapse with anything outside it.
Taught in
- Modern Box Model, Box Sizing, Display Types And Flow Layout — Frontend Architecture & Web Platform