nav Posted March 26 Share Posted March 26 I was learning GSAP through resource available on the website. In the codepen Who's That Pokémon? - forEach example (codepen.io) the .cover class needs to have opacity zero when the mouse is hovered over the card as per the code which means that the image should fade away. However it is not happening. I tried changing the code but it wont work. Any idea why the image is not getting faded when hovered over the card? Thanks. See the Pen PoqRZOB by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Solution Rodrigo Posted March 26 Solution Share Posted March 26 Hi @nav and welcome to the GSAP Forums! Yeah it seems that some images were lost at some point with the domain change (from greensock.com to gsap.com). Basically a placeholder with a silhouette was in front of each image. For now I forked that demo with a placeholder instead for each card so you can see the effect Happy Tweening! 2 Link to comment Share on other sites More sharing options...
Rodrigo Posted March 27 Share Posted March 27 Hi, The demo has been updated with the silhouettes so is working as it should now: 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