3 ms·
No other hand required for Animation. It works the same. Any changes you make to the DOM/CSS are rolled up and happen together. Even changes to position, CSS
by jasonkester 16y ago
No other hand required for Animation. It works the same.
Any changes you make to the DOM/CSS are rolled up and happen together. Even changes to position, CSS transforms, etc.
That's why your effects code ends up having all those setTimeout(function(){keepGoing()}, 0); blocks in it. You need to chill from time to time and let the browser render what you've done already.