Answer the question
In order to leave comments, you need to log in
Why is css slider not working in firefox?
There is a block, it is necessary that the background image of this block change smoothly to another, I found an article that describes the method in css.
I did everything as described in the article, the background changes perfectly, but it doesn’t want to work in ff, tell me what could be the problem?
My css
#slider{
width: 448px;
height: 251px;
margin: 0 auto;
background: url(1.jpg);
animation-name: slider;
animation-duration: 7s;
}
@keyframes slider{
0%{ background: url(1.jpg);}
33%{ background: url(2.jpg);}
66%{ background: url(3.jpg);}
}
Answer the question
In order to leave comments, you need to log in
the fox can't animate background-image
, here's my question one to one but not the slider
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question