CSS · Typography

line-height

Vertical distance between lines. Unitless values scale with font size and are usually safest.

Syntax
line-height: 1.6

Example

Try it

More in this group

font-family font-size font-style font-variant-numeric font-weight letter-spacing list-style overflow-wrap

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course