10 ms·
Here is a good article describing why animations done with JS (DOM-based) can be as performant, or even more performant, than CSS animations. http://davidwalsh
by LocalPCGuy 12y ago
Here is a good article describing why animations done with JS (DOM-based) can be as performant, or even more performant, than CSS animations.
http://davidwalsh.name/css-js-animation http://davidwalsh.name/css-js-animation
and this one (about GSAP, not Velocity)
http://css-tricks.com/myth-busting-css-animations-vs-javascript/ http://css-tricks.com/myth-busting-css-animations-vs-javascr...
Choose the right tool for the job. Sure, for simple things, CSS transitions are likely the right tool. For more complex animations where you need more control over them, frameworks like these are invaluable.