Skip to main content
Version: v4

Scroll Margin

Usageโ€‹

Please refer to the

documentation on the Tailwind CSS website

Compatibilityโ€‹

ClassSupport
scroll-m-{n}๐ŸŒ Web only
scroll-m-[n]๐ŸŒ Web only
scroll-mx-{n}๐ŸŒ Web only
scroll-mx-[n]๐ŸŒ Web only
scroll-my-{n}๐ŸŒ Web only
scroll-my-[n]๐ŸŒ Web only
scroll-mt-{n}๐ŸŒ Web only
scroll-mt-[n]๐ŸŒ Web only
scroll-mr-{n}๐ŸŒ Web only
scroll-mr-[n]๐ŸŒ Web only
scroll-mb-{n}๐ŸŒ Web only
scroll-mb-[n]๐ŸŒ Web only
scroll-ml-{n}๐ŸŒ Web only
scroll-ml-[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