+ 1
Can background images be animated without javascript
I tried da normal animate syntax for background images but it didn't work. I had to introduce a function from JavaScript
4 odpowiedzi
+ 9
kevin izuchukwu You can animate using CSS.
+ 3
try to use GIF . you can't change background image without javascript.
but you can animate it via css. try to use animation-name and animation-duration.
+ 1
kevin izuchukwu Can you upload your code?
0
I know, i used css, da "animate" property. It worked for other properties like width, height, color but not for background-images