Skip to main content
Version: v2

Padding

Usage

Please refer to the documentation on the Tailwind CSS website

Compatibility

ClassNative (StyleSheet)Web (CSS)
p-{n}
p-[n]
px-{n}
px-[n]
py-{n}
py-[n]
pt-{n}
pt-[n]
pr-{n}
pr-[n]
pb-{n}
pb-[n]
pl-{n}
pl-[n]
p-auto
px-auto
py-auto
pt-auto
pr-auto
pb-auto
pl-auto
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Full support

✔️ Partial support

❌ Not supported