Syntax

overscroll-behavior

Setting what a browser does when reaching the boundary of a scrolling area.

Overview

ClassDeclarations
overscroll-behavior:`value`overscroll-behavior: `value`;
overscroll-behavior-x:`value`overscroll-behavior-x: `value`;
overscroll-behavior-y:`value`overscroll-behavior-y: `value`;
overscroll-behavior:autooverscroll-behavior: auto;
overscroll-behavior:containoverscroll-behavior: contain;
overscroll-behavior:noneoverscroll-behavior: none;
overscroll-behavior-x:autooverscroll-behavior-x: auto;
overscroll-behavior-y:autooverscroll-behavior-y: auto;
overscroll-behavior-x:containoverscroll-behavior-x: contain;
overscroll-behavior-y:containoverscroll-behavior-y: contain;
overscroll-behavior-x:noneoverscroll-behavior-x: none;
overscroll-behavior-y:noneoverscroll-behavior-y: none;

Apply conditionally

Apply styles based on different states using selectors and conditional queries.

<div class="overscroll-behavior:auto:hover overscroll-behavior:auto@sm overscroll-behavior:auto@dark overscroll-behavior:auto@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy