Utilities for controlling the scroll behavior of an element.
Class | Properties |
---|---|
scroll-auto | scroll-behavior: auto; |
scroll-smooth | scroll-behavior: smooth; |
Use the scroll-smooth
utilities to enable smooth scrolling within an element.
<html class="scroll-smooth">
<!-- ... -->
</html>