Adam Weitzman
Adam Weitzman

Reputation: 1622

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

Upvotes: 0

Views: 65

Answers (1)

trungvose
trungvose

Reputation: 20034

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

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

Upvotes: 2

Related Questions