I have a jQuery animation that is queued for a single element:
var el = $('.elem'); el.animate({ width: 120 }, 600, 'easeInOutQuint' ).animate({ width: 90 }, 300, 'easeInOutQuint' ).animate({ width: 100 }, 100, 'easeInOutQuint' );
3 animations are counted as 1 main animation, only chained. It takes 1000 ms to start, and I would like to use the first 60% attenuation in my example for the first animation, then the next 30% attenuation used in the second animation, and ended with the last 10% attenuation.
Is there a way to do mitigation as a global value for this animation queue?
source share