scroll-snap-type: pair
Limited availability
The scroll-snap-type: pair CSS declaration snaps scrolling to a single element in both the X and Y axes. You can use this to snap to scattered points of interest on a 2D plane.
Browser support
- Chrome 156 Released on 2026-10-20
- Chrome Android 156 Released on 2026-10-20
- Edge 156 Released on 2026-10-22
- Firefox Not supported
- Firefox for Android Not supported
- Safari Not supported
- Safari on iOS Not supported
MDN documentation
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Specifications
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist