jaco-g
8/12/2017 - 9:42 AM

myButton.js

var myButton = $('#button'), 
	myBox = $('#box'); 
myButton.click(function () { 	
	myBox.addClass('change-size'); 
	myBox.one('webkitAnimationEnd oanimationend msAnimationEnd animationend', function(e) { 
		// code to execute after animation ends 
		myBox.removeClass('change-size'); 
	}); 
});