Press/to search

Interactivity

Scroll Smooth v1.1.1

Utilities for sets smooth animation of scroll anchored position within a scrolling box.


Class

classcss
scroll-smoothscroll-behavior: smooth
Note: Your browser does not currently support the utilities.

Usage

<!-- Example -->
<html class="scroll-smooth">
...
</html>

Variant

ResponsiveDark ModeLight ModeReduce-MotionPortraitLandscapeHoverGroup-HoverFocusGroup-FocusFocus-VisibleFocus-WithinActiveVisitedCheckedDisabled

Default enabled variants. Read more information about the Responsive and Pseudo-Class Variants.