Each line rises from behind a mask, so the headline reads in the order you want, one line at a time.
Editorial headlines and section openers. Keep it to two to four lines.
Staggers longer than 0.12s a line, bouncy eases, or revealing body text this way.
<!-- HTML --> <h2 data-boro-lines>Notes from the field, volume twelve.</h2> // JS · GSAP + SplitText const split = new SplitText("[data-boro-lines]", { type: "lines", mask: "lines" }); gsap.from(split.lines, { yPercent: 105, duration: 1.1, ease: "expo.out", stagger: 0.08, scrollTrigger: { trigger: "[data-boro-lines]", start: "top 80%" },