I have a hero banner at the top of a page, and I would like to do the following:
Fade the text in when the page loads
Animate it with a ScrollTrigger
To achieve this, I'm using a timeline to do the initial fade in, and then setting up a ScrollTrigger when the first timeline is complete.
It works, but since I'm new to GSAP I wonder if there is a better pattern I should be following to achieve this.
If you all have a more optimal way, I'd be eager to here your input. Thanks!
https://codepen.io/mikemoreau/pen/BabOwKq