Skip to content

Scroll behavior

Utilities for scroll behavior.

ClassStyles
af-scroll-smoothscroll-behavior: smooth
Smooth scrolling
<a class="af-text-link af-scroll-smooth" href="#demo-anchor">Scroll smoothly</a>
<div style="height: 6rem;"></div>
<div id="demo-anchor" class="af-border af-radius af-p-sm">Anchor</div>