Interactivity
Scroll Smooth v1.1.1
Utilities for sets smooth animation of scroll anchored position within a scrolling box.
Class
class | css |
---|---|
scroll-smooth | scroll-behavior: smooth |
Usage
<!-- Example -->
<html class="scroll-smooth">
...
</html>
Variant
Variant | Enabled | Responsive |
---|---|---|
Default | Yes | |
Dark Theme | ||
hover | ||
group-hover | ||
focus | ||
focus-within | ||
active | ||
visited | ||
checked | ||
disabled |