CSS · Properties — CSS Overscroll Behavior

overscroll-behavior-x

The CSS overscroll-behavior-x property. Initial value: auto. Not inherited.

Syntax
overscroll-behavior-x: contain | none | auto

Example

Try it

Notes

Media: visual. Applies to: nonReplacedBlockAndInlineBlockElements. Computed value: asSpecified.

More in this group

overscroll-behavior overscroll-behavior-block overscroll-behavior-inline overscroll-behavior-y

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course