overscroll-behavior-x
Limited availability96% of users
Controls what happens when you reach the end of a horizontal scroll zone. It's often used to keep users from accidentally navigating 'back' or 'forward' with swipe gestures.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- non-replaced block and inline-block elements
- Animation type
- discrete
Quick example
body {
/* Disables the bounce/pull-to-refresh effect on mobile horizontal swipes */
overscroll-behavior-x: none;
}Values
containnoneautooverscroll-behavior-x browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage96%of people can use this4% use a browser without it.
Browsers
144+
150+
18+Mobile
144+Android
150+Android