Jump to content


SplitText & Scrolltrigger - Fix for Flash of Unanimated Text?

Recommended Posts



I'm currently using GSAP SplitText and Scrolltrigger to animate lines of text. However, as the site loads, the text is shown briefly before animating. I.E. the animation fires properly but only after the text is already visible for a short amount of time. Is there an easy way to hide any SplitText/ScrollTrigger animations until they have fired?



See the Pen BaJBYKK by neontrenton (@neontrenton) on CodePen

Link to comment
Share on other sites

You could add a css rule to hide the text until javascript can reveal it, like this: 

See the Pen WNdezBW by geedix (@geedix) on CodePen

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.