Jump to content
Search Community

Repeat the animation on other sibling div's

Mohamedgad test
Moderator Tag

Recommended Posts

Hello, I want to have the first div animation applied on other divs in the same container.

all divs have same classes and same content.

is there any way to repeat the animation for each div when mouse enter and mouse leave instead of rename all classes and duplicate the codes over and over.

 

thanks for helping. 

See the Pen MWpbYVa by Mohamed-Gad (@Mohamed-Gad) 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...