Animating in Code Using JavaScript | kirupa.com

by kirupa | 17 March 2013

In my Introduction to Animation in HTML tutorial, I mentioned that there are three ways to create an animation. One way is by using the appropriately named CSS animations. Another way is by using CSS transitions. The third and final way is by writing code in JavaScript. If you are a huge JavaScript fan, you'll feel right at home here. If you are not a huge JavaScript fan...well, hopefully you will change your mind once you see all the cool animation things you can do in code that you simply cannot do using CSS.


This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/animating_in_code_using_javascript.htm