CSS3 - Animating margin-left property through JavaScript

Viewed 60150

Considering this proof of concept, would it be possible to animate margin-left (both negative and positive values) through JavaScript?.. And how would you go about doing so?

Note: I know this is WebKit-only. And I'm fine with that, seeing as I am developing for iOS Safari.


Update

Thanks for the answers, but jQuery's animate function doesn't support pure CSS animations, which is what I need.

7 Answers
Related