Fix ugly text wrapping with this simple CSS trick

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateWeb DesignUI1 min

About this video

A short CSS tutorial on keeping button text from wrapping awkwardly, offered as an alternative to text-wrap: nowrap, which can cause overflow.

What you’ll learn

  • Prevent button text from wrapping awkwardly without causing overflow