I need to pause a CSS transition at any time during the transition. I know there is a solution with calculating the current value of the transitioning property and applying it directly, however this gave me "jumping" results in Safari and IE11.
What I though of is to increase the transition-duration
value to something big, that is in my theory should have almost paused the transition, but it seems it's not the case:
https://jsfiddle.net/j8p0msff/
$('#pause').on('click', function() {
$('.ball').css('transition-duration: 5000s');
});
Any other ideas? Thanks!