Overscroll Behavior Inline

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

Limited availability

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

Chrome
Edge
Firefox
Safari

obi-auto
overscroll-behavior-inline: auto;
obi-c
overscroll-behavior-inline: contain;
obi-none
overscroll-behavior-inline: none;

Responsiveness

Use breakpoint prefixes to target different screen sizes.

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