0
How to change color of a css animation with Javascript?
Assume that I have a css animation and it is going right, I want to change his color if it reach the value(for example if(anim.style.width==100){anim.style.backgroundColor=#ffffff}).But it is not working.How can I do that?
1 Respuesta
+ 3
... .style.backgroundColor="#ffffff";