Overscroll Behavior Y

Set the browser's scroll overflow behavior on the vertical axis.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

oby-auto
overscroll-behavior-y: auto;
oby-c
overscroll-behavior-y: contain;
oby-none
overscroll-behavior-y: none;

Responsiveness

Use breakpoint prefixes to target different screen sizes.

sm:oby-(value)
Small640px
md:oby-(value)
Medium768px
lg:oby-(value)
Large1024px
xxl:oby-(value)
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:oby-(value)