Depends on what your actually trying to do. I believe it is best to develop animations using HTML5 and CSS3 animations however this isn't supported on older browsers so it is recommended to downgrade gracefully to a static image in its place. That way 90% of people will see a quality animation with very little file size overhead.
↧