The Creative Pass Watch all courses for just $12/month
The line-clamp property truncates text at a specific number of lines

This element was built with...

  • css
  • line-clamp
  • standards
  • html

More inspiration

See more related
elements from w.

  • The State of Developer Ecosystem 2021
    ELEMENT

    The State of Developer Ecosystem 2021

  • Drool Articles
    ELEMENT

    Drool Articles

  • Designing for the Unexpected
    ELEMENT

    Designing for the Unexpected

  • CSS Layout Templates From CodePen
    ELEMENT

    CSS Layout Templates From CodePen

  • CSS Grid — The Beginner’s Guide
    ELEMENT

    CSS Grid — The Beginner’s Guide

  • CSS Grid like you are Jan Tschichold
    ELEMENT

    CSS Grid like you are Jan Tschichold

  • How CSS pseudo-classes work, explained with...
    ELEMENT

    How CSS pseudo-classes work, explained with...

  • ELEMENT

    Water Effect Transition

    video