Skip to main content
Version: v4

Max-Width

Usage

Please refer to the

documentation on the Tailwind CSS website

Compatibility

ClassSupport
max-w-0✅ Full Support
max-w-[n]✅ Full Support
max-w-{n}✅ Full Support
max-w-full✅ Full Support
max-w-screen-sm✅ Full Support
max-w-screen-md✅ Full Support
max-w-screen-lg✅ Full Support
max-w-screen-xl✅ Full Support
max-w-screen-2xl✅ Full Support
max-w-min🌐 Web only
max-w-max🌐 Web only
max-w-fit🌐 Web only
max-w-prose🌐 Web only
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