Do you set a different line height for headings than for body text?
Body text usually looks right around 1.4–1.6, but the same value on a 48px headline makes multi-line titles look like they're drifting apart.
I've started tightening headings to roughly 1.1–1.2 and going even tighter for big display sizes. Do you use a fixed set of line heights per size in your styles, or tune them by eye for each typeface?
Comments · 4
Learning CSS and wondering the same. Is a unitless line-height like 1.1 the right way to do it so it scales with the font size?
Yes, tighter for headings. I use roughly 1.1 to 1.2 on big titles, and a clamp so mobile headings don't get too cramped.
Unitless is the right call. Set it at the heading level and it scales with the font size automatically.
Same idea in print. Hand-lettered signs only look right when you tighten the leading as the letters get bigger.