The BEST WAY to set line-height in Web Design (and no, it's not using px)

A Designer Who Codes on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerTypography5 min

About this video

A short web design tutorial explaining why line-height should be set in a relative unit rather than pixels, so line spacing adjusts as font size changes responsively. It is aimed at designers and developers who want better readability for body text online.

What you’ll learn

  • Explain why pixel line-heights stay fixed when font size changes
  • Set a unitless line-height that scales with responsive text
  • Apply line-height settings to improve online body text legibility