Share Posted August 6, 2020 Hello everybody! I've been experimenting with ScrollTrigger in the last few days and I'm wondering how can I create a parallax effect while scrolling for the h1 using ScrollTrigger.batch()? I know I can create a parallax effect if I add scrub:true , but it doesn't seem to work in this case. Is there a more elegant way of doing this instead of copy and pasting lines of code to every new div? See the Pen XWdJbdR by make96 (@make96) on CodePen Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now