Fix your wonky headings with text-wrap: balance

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI2 min

About this video

A short CSS tutorial showing how the text-wrap: balance property evens out line lengths in headlines with a single line of code, along with browser support notes. It is aimed at developers and designers who build or style web headings.

What you’ll learn

  • Apply text-wrap: balance to headings to even out line lengths
  • Check browser support before relying on text-wrap: balance