Skip to content

Instantly share code, notes, and snippets.

@lucasdidthis
Last active September 21, 2015 09:32
Show Gist options
  • Save lucasdidthis/1ac41dbb2dac587b13d8 to your computer and use it in GitHub Desktop.
Save lucasdidthis/1ac41dbb2dac587b13d8 to your computer and use it in GitHub Desktop.
how to add a jQuery callback function to a CSS3 Transition
$(".element-with-transition").on('webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd transitionend', function(){
//add jQuery code here, it's executed after the transition ended
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment