Skip to main content
Version: v4

Line Clamp

Usage

Please refer to the

documentation on the Tailwind CSS website

Compatibility

ClassSupport
line-clamp-1✅ Full Support
line-clamp-2✅ Full Support
line-clamp-3✅ Full Support
line-clamp-4✅ Full Support
line-clamp-5✅ Full Support
line-clamp-6✅ Full Support
line-clamp-none✅ Full Support
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Full support

✔️ Partial support on native

🧪 Experimental support on native

📱 Native only

🌐 Web only