Skip to main content
Version: v4

Scroll Padding

Usageโ€‹

Please refer to the

documentation on the Tailwind CSS website

Compatibilityโ€‹

ClassSupport
scroll-p-{n}๐ŸŒ Web only
scroll-p-[n]๐ŸŒ Web only
scroll-px-{n}๐ŸŒ Web only
scroll-px-[n]๐ŸŒ Web only
scroll-py-{n}๐ŸŒ Web only
scroll-py-[n]๐ŸŒ Web only
scroll-pt-{n}๐ŸŒ Web only
scroll-pt-[n]๐ŸŒ Web only
scroll-pr-{n}๐ŸŒ Web only
scroll-pr-[n]๐ŸŒ Web only
scroll-pb-{n}๐ŸŒ Web only
scroll-pb-[n]๐ŸŒ Web only
scroll-pl-{n}๐ŸŒ Web only
scroll-pl-[n]๐ŸŒ 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