overscroll-behavior-x
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.
Quick example
body {
/* Disables the bounce/pull-to-refresh effect on mobile horizontal swipes */
overscroll-behavior-x: none;
} Quick facts
Initial value
autoInherited
No
Applies to
non-replaced block and inline-block elements
Animation type
discrete
Values
containnoneauto overscroll-behavior-x Browser Support
Widely available Since 2022 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2022.
Safe to use without fallbacks.
63+
59+
16+
18+