Lightlines
By mengto

animation-on-scroll

mengto1.6k installs

Reveal elements as they enter the viewport.

What it does

Creates scroll-reveal animations with keyframes, a JavaScript observer snippet, and Tailwind classes to apply to elements.

When to use it

Use when asked for scroll-reveal, animate-on-scroll, or sequenced animations as elements enter the viewport.

How to use it

Ask for a scroll animation; it confirms animation preferences and provides keyframes, a JavaScript observer snippet, and the Tailwind class.

Latest review

What you need · 1

The supplied animation class uses Tailwind's arbitrary animation-value syntax.


Access · 0

No additional actions listed.