Overscroll Behavior Inline
Set the browser's scroll overflow behavior on the inline axis.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
Usage
Auto
Use the obi-a utility to allow scroll overflow behavior on the inline axis.
<div class="obi-a ..."> ...</div>Contain
Use the obi-c utility to contain scroll overflow behavior on the inline axis.
<div class="obi-c ..."> ...</div>None
Use the obi-n utility to disable scroll overflow behavior on the inline axis.
<div class="obi-n ..."> ...</div>Responsiveness
Use breakpoint prefixes to target different screen sizes.
sm:obi-[value]Small≥640px
md:obi-[value]Medium≥768px
lg:obi-[value]Large≥1024px
xxl:obi-[value]Extra Large≥1536px
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]