JJJ Posted April 7, 2022 Share Posted April 7, 2022 Is it possible to add duration and easing to this type of pinning? See the Pen KKpLdWW by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
akapowl Posted April 7, 2022 Share Posted April 7, 2022 Hello JJJ 40 minutes ago, JJJ said: Is it possible to add duration and easing to this type of pinning? I'm not sure what exactly it is you mean by duration and easing. Since there is nothing being actually animated/tweened in this example, if you wanted to add either of the afore-mentioned, you would probably have to re-create that example so it uses a tween for the layering instead of it just natively scrolling - then you could. Or you could add some overall smooth-scrolling to the whole page to give it a different feel - like with the brand new ScrollSmoother Plugin (for Shockingly Green and above Club-Members). https://greensock.com/scrollsmoother/ See the Pen vYpRWVZ by akapowl (@akapowl) on CodePen 3 Link to comment Share on other sites More sharing options...
mikel Posted April 7, 2022 Share Posted April 7, 2022 Hey @JJJ, Perhaps you mean such effects that you can achieve with GSAP.observe. See the Pen 14611e829c8a93a47c4b6f3ad826d101?editors=0110 by mikeK (@mikeK) on CodePen Happy observing ... Mikel 2 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