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.
elements
and text nodes
box
has four areas: content
, padding
, border
, & margin
content-box
, padding-box
, border-box
, margin-box
HTML
box is inside Viewport
Display:none;
removes box & subtreeDisplay:contents;
removes boxDisplay:list-item;
generates a second ::marker
boxList-style-position
moves marker in or out of primary box