Adam Weitzman Adam Weitzman - 4 months ago 21
CSS Question

CSS Image Filter Override

Whenever I try and add a filter to an image on my page I get that filter crossed off...I've tried adding in my CSS file, but the same thing happens...any idea what could be causing this? enter image description here

Answer

For Chrome, please add vendor specific -webkit for filter.

#turbo-dog {
    -webkit-filter: grayscale(10%); /* Chrome, Safari, Opera */
    filter: grayscale(10%);
}
Comments