Last updated on February 21, 2026

Max-Width

Edit

Usage

Please refer to the documentation on the Tailwind CSS website

Compatibility

ClassSupport
max-w-{n}
✅ Full Support
max-w-[n]
✅ Full Support
max-w-full
✅ Full Support
max-w-min
✅ Full Support
max-w-max
✅ Full Support
max-w-fit
✅ Full Support
max-w-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

On this page