Activating Webkit CSS3 animation using Javascript

Posted by jeffreyveon on Stack Overflow See other posts from Stack Overflow or by jeffreyveon
Published on 2010-06-13T19:03:21Z Indexed on 2010/06/13 19:12 UTC
Read the original article Hit count: 238

Filed under:
|
|
|

I am looking to use Webkit CSS3 to move a absolutely positioned DIV from one location to another on the screen when a button is pressed, by changing its left and right CSS properties. However, all the examples for doing this that I saw use a static CSS rule to apply this transition.

I don't know the new position before hand, so how do I apply this CSS3 transition dynamically?

© Stack Overflow or respective owner

Related posts about animation

Related posts about webkit