Daqu Posted August 11, 2021 Share Posted August 11, 2021 I want to make an effect like it is on this page: https://www.tagheuer.com/int/en/smartwatches/tagheuer-connected-collaboration.html Scroll down to the area where the watch face is on the right side and on the left side texts are fade/changing one-by-one depending on page scroll amount. I made a simple Codepen example without fades. See the Pen QWvYdQL by giorgi-khachapuridze (@giorgi-khachapuridze) on CodePen Link to comment Share on other sites More sharing options...
Solution Cassie Posted August 11, 2021 Solution Share Posted August 11, 2021 Hey there Daqu, Welcome to the forums. 🥳 In order to achieve this you'll need to position all the text on top of each of each other using CSS - then use opacity or autoAlpha to fade them in and out on that timeline. You can use scrub:true to link the animations to the scroll position I've commented out the third text for simplicity and added in some simple transitions to demo this for you See the Pen WNjPjwd?editors=1010 by GreenSock (@GreenSock) on CodePen 3 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now