Skip to main content

Overscroll Behavior

Utilities for controlling how the browser behaves when reaching the boundary of a scrolling area.

CSS Property:overscroll-behavior
Classes:9

Overscroll Behavior Classes

ClassCSS
overscroll-autooverscroll-behavior: auto;
overscroll-containoverscroll-behavior: contain;
overscroll-noneoverscroll-behavior: none;
overscroll-y-autooverscroll-behavior-y: auto;
overscroll-y-containoverscroll-behavior-y: contain;
overscroll-y-noneoverscroll-behavior-y: none;
overscroll-x-autooverscroll-behavior-x: auto;
overscroll-x-containoverscroll-behavior-x: contain;
overscroll-x-noneoverscroll-behavior-x: none;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

overscroll-[contain]

Responsive Variants

Apply overscroll behavior utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:overscroll-auto
768px+md:md:overscroll-auto
1024px+lg:lg:overscroll-auto
1280px+xl:xl:overscroll-auto
1536px+2xl:2xl:overscroll-auto