Hi there
I’ve inserted a masonry item with a custom ID which i’d like to begin at grayscale then when you hover over each item changes to colour. I’ve got it working with the following code but the whole section changes to colour not just the individual item. Is there a way to fix? Thanks
#work-other .av-fixed-size .av-masonry-image-container {
-webkit-filter: grayscale(1);
filter: grayscale(1);}
#work-other:hover .av-fixed-size .av-masonry-image-container {
-webkit-filter:none;
filter: none;
-webkit-transition: all 0.4s linear;}
Hi raslade!
Try this instead.
#work-other .av-fixed-size .av-masonry-image-container {
-webkit-filter: grayscale(1);
filter: grayscale(1);}
#work-other .av-fixed-size .av-masonry-image-container:hover {
-webkit-filter:none;
filter: none;
-webkit-transition: all 0.4s linear;}
Cheers!
Elliott
Hi Elliott – marvellous. How annoying I was nearly there but had the hover in the wrong place.
Thank you.