Answer the question
In order to leave comments, you need to log in
How to properly use filter in FF?
Friends, everything works in Chromule, but the Fire Fox refuses to eat (I won’t say anything about the brothers Donkey and Donkey at all :)).
.k {
background: url(../2.jpg) repeat scroll 0 0 / 100% 100% rgba(0, 0, 0, 0);
height: 100%;
width: 50%;
position: absolute;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
transition: 0.5s all;
}
.k:hover { -webkit-filter: grayscale(0%); -moz-filter: grayscale(0%);}
Answer the question
In order to leave comments, you need to log in
Use svg filters
https://developer.mozilla.org/en-US/docs/Web/CSS/filter
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question