CSS takes a source document organized as a tree of
elements
(which can contain a mix of otherelements
andtext nodes
) andtext nodes
(which can contain text), and renders it onto a canvas such as your screen, a piece of paper, or an audio stream.
Inline
content flows
(expands/stacks)
on the inline axis
intrinsic
from contentsline-height
border
/padding
/margins
on the inline axis only