Styling underlines with CSS is easier than you might have thought

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortBeginnerUI1 min

About this video

A short CSS tutorial showing how to go beyond text-decoration: none and control the color, thickness, style and offset of text underlines.

What you’ll learn

  • Set text underline color with text-decoration-color