EDIT: DONT DO THIS. It breaks z-index rules sometimes on modern webkit based browsers.
Unfortunately, CSS transitions can be a little slow, a little choppy, even on iPhone 4 and the faster Android based phones. The problem is that, by default, webkit doesn’t involve the GPU unless you’re doing 3D transforms. With desktop horsepower, thats fine. On a mobile device, that GPU could really help.
So how do you force webkit to share the processing load with the GPU?
Apply this style to the element you’re animating:
Simple, but effective.