Jump to content
Search Community

Animate child of duplicate classes

Warren_A test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hi all!

 

I'm trying to animate the inner child of a container on hover but the issue I'm having is that the page requires multiple instances of the same class. So for instance I have a main container called "contentContainer" and within that is text with the class "words".

 

I can't figure out how to animate the "words" of only the "contentContainer" that is being hovered over.

See the Pen zYadpjz by purplehaze (@purplehaze) on CodePen

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...