开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜