0
How can i make key frames of images instead of colors?
Making moving images instead of colors
4 odpowiedzi
+ 4
visph is right you can change the image source by script to make sprite animated
it doesn't have
keyframes and bitmaps can't be animated that way
+ 2
The css 'background-image' property cannot be animated, unfortunatly... :(
You need to handle displaying image by image with the help of JS ( only Css will not be sufficient ), and choose at least between two way: the old way, dealing with css 'position' and classical container ( <div> tags, or whatever ), or the new html5 way, dealing with <canvas> element ( but requiring some skills to learn/use the library associated )
+ 1
In the absolute, one can imagine coding a keyframed-morpher, or whatever more advanced effects than a simple fade in-out, with the possibility available with <canvas> element and api ^^
0
thanks guys