In this tutorial I will show you how to create an underline animation on scroll.
I will show you two different methods, that results in two slightly different animations.
With the first method, the underline is directly anchored to the scrolling. It plays back and forth, as you scroll up and down.
With method 2, the animation is very similar to an entrance animation: it plays out smoothly, only one time, when the element enters the viewport.
See both of them here:
- Choose your own colors and styling
- Adjust the animation precisely
- Choice of two different animation styles
- Method 1 uses the Scrolling Effects from Elementor Pro
Let's get started!