Jump to content

Product list grid in index page - transition on hover


Recommended Posts

Hey, I'd like to ask you about transition in product grid in index page. I added a following code in product_list.css:

ul.product_list.grid > li.hovered .product-container {
  transition: all 0.2s ease-in-out;
}

When I hover on product item animation works but when I unhover there isn't any animation. It works only when I hover element but not when I leave position of pointer.

 

I don't know why it doesn't work, as you can see my animation is ease-in-out so... any help?

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
×
×
  • Create New...