How to build animation using javascript?
I have 3 yellow bars. The bar should come from out of my boundary box to inside. While the yellow box enter in to site, it should delay each other 3sec. And I like to build this animatio开发者_StackOverflow社区n using Webkit-transition. I know I can use javascript to implement it.
What is best way to do this?
Something along these lines?
http://jsfiddle.net/N82Kc/
It doesn't use WebKit transform so it works in all browsers. Depends what your users need.
精彩评论