fjanroid Posted June 22, 2021 Share Posted June 22, 2021 Hi, I come through this portfolio site. how we can control this smoothness through GSAP? https://www.nicolaspellegrino.com/ Link to comment Share on other sites More sharing options...
mikel Posted June 22, 2021 Share Posted June 22, 2021 Hey @fjanroid, You can use GSAP ScrollTrigger. Take a look at the DOC and the many examples. See the Pen ZEeZewz by mikeK (@mikeK) on CodePen Happy tweening ... Mikel 4 Link to comment Share on other sites More sharing options...
Visual-Q Posted June 22, 2021 Share Posted June 22, 2021 And have a look at this pen for a smooth scrolling solution together with scrollTrigger See the Pen gOgWELo by GreenSock (@GreenSock) on CodePen 1 Link to comment Share on other sites More sharing options...
fjanroid Posted June 23, 2021 Author Share Posted June 23, 2021 @Visual-Q what if we add opacity on enter onEnter: () => gsap.to(elems, { opacity: 0, }), I added this but its not working Link to comment Share on other sites More sharing options...
mikel Posted June 23, 2021 Share Posted June 23, 2021 Hey @fjanroid, try to use box instead of elems Happy tweening ... 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