Last updated on March 19, 2026

Max-Height

Edit

Usage

Please refer to the documentation on the Tailwind CSS website

Compatibility

ClassSupport
max-h-0
✅ Supported
max-h-[n]
✅ Supported
max-h-{n}
✅ Supported
max-h-full
✅ Supported
max-h-screen
✅ Supported
max-h-min
🌐 Web only
max-h-max
🌐 Web only
max-h-fit
🌐 Web only
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Supported

✔️ Partial support on native

🧪 Experimental support on native

📱 Native only

🌐 Web only

On this page