Interactivity
scroll-padding
Utilities for controlling an element's scroll offset within a snap container.
Quick reference
No native equivalent: these classes are accepted and ignored
scroll-padding: calc(var(--spacing) * 0.5);
scroll-padding: var(--spacing);
scroll-padding: calc(var(--spacing) * 1.5);
scroll-padding: calc(var(--spacing) * 2);
scroll-padding: calc(var(--spacing) * 2.5);
scroll-padding: calc(var(--spacing) * 3);
scroll-padding: calc(var(--spacing) * 3.5);
scroll-padding: calc(var(--spacing) * 4);
scroll-padding: calc(var(--spacing) * 5);
scroll-padding: calc(var(--spacing) * 6);
scroll-padding: calc(var(--spacing) * 7);
The React Native column is what AstraWind resolves each class to, computed live on this page with the current color scheme. Classes with no native equivalent are accepted without effect, and AstraWind warns about them in development. See
Compatibility.