Skip to main content
Version: v2

Max-Width

Usage

Please refer to the

documentation on the Tailwind CSS website

Compatibility

ClassNative (StyleSheet)Web (CSS)
max-w-0
max-w-[n]
max-w-{n}
max-w-full
max-w-screen-sm
max-w-screen-md
max-w-screen-lg
max-w-screen-xl
max-w-screen-2xl
max-w-min
max-w-max
max-w-fit
max-w-prose
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

Full support

✔️ Partial support

Not supported