Is this the strangest CSS solution out there?

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateUI1 min

About this video

A short Short from Kevin Powell showing the CSS line-clamp property as an unusual way to limit text to a set number of lines.

What you’ll learn

  • Clamp multi-line text to a set number of lines with CSS