I have an image hover from grey-scale to color, site wide for all images in my site. It works perfect in Safari and Google, but in Firefox and Internet Explorer it is not working at all. Here is the code:
img {
-webkit-filter: grayscale(100%); /* For Webkit browsers */
-webkit-transition: .5s ease-in-out; /* For Webkit browsers */
-moz-filter: grayscale(100%); /* For Firefox */
-moz-transition: .5s ease-in-out; /* For FireFox */
-o-filter: grayscale(100%);
-o-transition: .5s ease-in-out;
}
img:hover {
-webkit-filter: grayscale(0%); /* For Webkit browsers */
-webkit-transition: .5s ease-in-out; /* For Webkit browsers */
-moz-filter: grayscale(0%); /* For Firefox */
-moz-transition: .5s ease-in-out; /* For Firefox */
-o-filter: grayscale(0%);
-o-transition: .5s ease-in-out;
}
I am sure it is something simple, but not sure what. Thanks, Autum