Example from Foundation HTML5 Animation with JavaScript