HimanshuW
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by HimanshuW
-
-
I'm trying to change the opacity of a fixed div when the user scrolls to a trigger section
Opacity of fixed div is 0% at start (success)
100% when the centers of trigger section and fixed div align (success)
Animate back to 0 % at end (fail)
What am I doing wrong? Is there a simpler/better way of animating this?
See the Pen vYdKpLX?editors=1111 by himanshu-walimbe (@himanshu-walimbe) on CodePen
2nd animation in timeline doesn't fire (using React hooks)
in GSAP
Posted
Thanks @akapowl. That is exactly what I wanted
Will check out those common mistakes
Cheers