#DebuncTotD - Tech Tuesday [14/6/2016]

 

Looking for a more optimised animation engine for your website?

Why not give velocity.js a try? It uses the same syntax as .animate() but with better performance. Just replace this:

$(‘#myDiv’).animate({
right: ‘-=50’
}, 1000);

with this:

$(‘#myDiv’).velocity({
right: ‘-=50’
}, 1000);