Overscroll Behavior Block

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

Limited availability

This feature does not work in some of the most widely-used browsers.

Chrome
Edge
Firefox
Safari

obb-auto
overscroll-behavior-block: auto;
obb-c
overscroll-behavior-block: contain;
obb-none
overscroll-behavior-block: none;

Responsiveness

Use breakpoint prefixes to target different screen sizes.

sm:obb-(value)
Small640px
md:obb-(value)
Medium768px
lg:obb-(value)
Large1024px
xxl:obb-(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:obb-(value)