I have a collection of images, all of which are intended to display the same hover effect. To achieve this, I implemented two layers: one for the image itself and one for the hover effect. View the code demo here: http://jsfiddle.net/jmXdh/13/
Upon hovering over an image, the second layer appears with the desired effect. Additionally, I want to apply a specific effect only to the main image when hovered over. Currently, a grayscale effect is applied, however, both hover effects don't activate simultaneously. Why might this be?
This is the CSS code used for the main image hover effect:
a:hover .img{-webkit-filter: grayscale(100%);}
Furthermore, I am looking to incorporate a transition for a smoother visual impact.