Last updated on September 14, 2026

Max-Height

Edit

Usage

Please refer to the documentation on the Tailwind CSS website

Compatibility

Support applies to the documented values and platforms. See the RC compatibility notes for value limits and native migration alternatives. Browser behavior is evaluated separately.

ClassSupport
max-h-{n}
✅ Supported
max-h-[n]
✅ Supported
max-h-full
✅ Supported
max-h-screen
✅ Supported
max-h-none
✅ Supported
max-h-min
Not supported on native
max-h-max
Not supported on native
max-h-fit
Not supported on native
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Supported

✔️ Partial support on native

🧪 Experimental support on native

📱 Native only

Not supported on native: rejected by the native CSS engine

🌐 Web only

On this page