Home headline, rising line by line
The entrance of the home page headline: each line rises from below its own mask.
Source · GitHubEach line is wrapped in overflow hidden, and the inner element rises from 112% to 0 over 1.05s on expo.out, with 110ms between lines. On the home page it is a CSS transition triggered by the opening animation; here it is a GSAP tween triggered on entering the viewport, so it can be replayed. "Again" remounts the two lines, which is what happens on a route change.
Source
Source files on GitHub: