The ch unit is the most underappreciated CSS unit

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI8 min

About this video

Kevin Powell explains the ch unit in CSS, a relative unit based on the width of the zero glyph, and why it is useful for sizing text and layouts. The video is aimed at developers who already write CSS.

What you’ll learn

  • Explain how the ch unit relates to the width of a font's zero character
  • Choose ch units to size text measure in CSS layouts