Why doesn't margin add color or visible background around the element?
Margin is empty space outside the element's border. It does not have color or background, so it looks like blank space.
💡 Margin is always transparent space around the box.
Why does margin collapse sometimes make vertical margins smaller?
Adjacent vertical margins between elements combine into one margin equal to the largest, so space may be less than sum of margins (see step 3 for margin spacing).
💡 Vertical margins between elements can merge, horizontal margins do not.
Why doesn't margin work on inline elements like <span>?
Inline elements only respect horizontal margins (left and right). Vertical margins (top and bottom) do not affect layout visibly.
💡 Margins on inline elements mostly affect horizontal spacing.