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