Skip to content

Glossary: Tailwind CSS

line-clamp

Also written: line-clamp-2

A class that cuts text off after a set number of lines with "…", handy for product notes of varying length.

Where the book teaches it