4 ms·
That is much better than the jQuery version - particularly the use of requestAnimationFrame. It still has almost a second of Recalculate Style before the animat
by richbradshaw 15y ago
That is much better than the jQuery version - particularly the use of requestAnimationFrame. It still has almost a second of Recalculate Style before the animation, but the animation at least manages to get some frames in.
I'm hoping that if nothing else this post prompts the jQuery team to have a look at their animation function.