scroll-behavior
Widely available
The scroll-behavior
CSS property controls whether scrolling is smooth or snaps, for scroll actions not performed by the user such as those triggered by navigation.
To learn more, see
scroll-behavior at MDN.
Compatibility (view on caniuse.com)
- Chrome 61 Released on 2017-09-05
- Chrome Android 61 Released on 2017-09-05
- Edge 79 Released on 2020-01-15
- Firefox 36 Released on 2015-02-24
- Firefox for Android 36 Released on 2015-02-27
- Safari 15.4 Released on 2022-03-14
- Safari on iOS 15.4 Released on 2022-03-14