Simple Analytics

line-clamp-2

The class line-clamp-2 is a Tailwind CSS class, part of the line clamp classes in the category typography.

Resulting CSS

overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;

Get Tailscan now

The absolute must-have tool for anyone using Tailwind CSS.

Build, design and debug your Tailwind website visually with Tailscan, right within the browser.

Get Tailscan now
video poster