text baseline

The invisible line that letters sit on; aligning items to the baseline lines up their first lines of text.

In more detail

Different fonts and sizes place text at different heights, so baseline alignment keeps lines of text straight. align-items: baseline is useful when items have different font sizes, such as a price next to a label.

Related terms

Taught in

References