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

On this page