Webkit CSS animations for jQuery
Webkit CSS animations for jQuery
I've put together a proof of concept for using Webkit CSS animations
where possible. You can find it at :
http://www.parkerfox.co.uk/labs/css-webkit-animation-jquery-proof-of-concept.html
It creates a wrapper function $.animate2 that runs the equivalent CSS
animation if the $.browser.safari = true or runs the original animate
code otherwise.
There's also a stress test page here :
http://www.parkerfox.co.uk/labs/css-webkit-animation-jquery-stress-test.html
As you can see the test is too much for the JS animation, but the CSS
animation works fine.
Tested on Firefox, Chrome, iPhone.
weepy
Topic Participants
jonahfox
Paul Bakaus
brandon_aaron
kangax
andrea.giammarchi