Jump to content
Search Community

Control and callback animation

nav test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

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

  • Solution

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!

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...