Motion Library ‹ Free tools

All / Scroll

Reveal on scroll

Elements fade up the first time they enter the viewport, detected with IntersectionObserver.

CSSJavaScriptBeginner
Live demo Open full screen

Good for

Almost every landing page section. The most common scroll animation there is.

Watch out for

Hide with JS only (add a class on html), so the content is still visible if scripts fail. Unobserve after revealing to save work.

Accessibility

Wrap motion in @media (prefers-reduced-motion: reduce) and switch it off or shorten it for people who ask for less movement.