I have an mp4 movie file that consists of basic graphic elements over a gradient background. The elements slowly rotate in place and the movie just loops infinitely. The movie file is over 5mb, so I’m looking to convert the movie file to CSS3.
I haven’t attempted CSS3 animations to this level before (I’ve only done basic stuff like fades). I’m looking to get some advice and suggestions on how to convert this MP4 into a CSS3 animation of individual graphic elements that I can run in the background of my page (as if it were an animated background image).
There’s a good article here that gives you all the tools you need to do this. I would be careful though that you don’t slow the page down with too many animations. Its basically a matter of setting @keyframe animation routines for each of the animations using the rotating trick mentioned in the article.