Line height

noun

say it: “LINE HITE” /laɪn haɪt/

The CSS property that sets how much height each line of text takes up, so lines sit closer together or further apart. A plain number like 1.5 means 1.5 times the font size.

What does line-height do?

line-height sets the space between lines of text. A value like 1.5 (no unit) scales with the font size.

.article p { line-height: 1.6; }

In a sentence

  • “Setting line height to 1.6 made the long adoption stories much more comfortable to read.”

Level: Apprentice · More CSS terms at this level

Updated