Use bodymovein(https://github.com/PLAYFULBOY/bodymovin) plug-in to develop animation on webpage ,it’s more convenient than other way such as flash.
Bodymovein is a plug-in that can transform animations made by After Efffects (Adobe After Effects is a digital visual effects, motion graphics, and compositing application developed by Adobe Systems and used in the post-production process of film making and television production) to json data file, and the json file can be played in webpage , and the effect on webpage is same to the amimation made by After Effects(short for AE).
you could see more information on http://www.cnblogs.com/zamhown/p/6688369.html
There are for files in this project : animation.json: the aimation data developed by AE egg.css : style of the page egg.html : webpage egg.js : load json file and background processing