Scroll Behavior

Utilities for controlling the scroll behavior of an element.

ClassProperties
scroll-autoscroll-behavior: auto;
scroll-smoothscroll-behavior: smooth;

Usage

Use the scroll-smooth utilities to enable smooth scrolling within an element.

<html class="scroll-smooth">
  <!-- ... -->
</html>
Windi CSS is Sunsetting We recommend new projects to consider alternatives. Click for more information.