Max-Width
Usage
Please refer to the
documentation on the Tailwind CSS website
Compatibility
Class | Native (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 | ❌ | ✅ |