Skip to content

Instantly share code, notes, and snippets.

@matsko
Created September 24, 2013 20:37
Show Gist options
  • Save matsko/6690867 to your computer and use it in GitHub Desktop.
Save matsko/6690867 to your computer and use it in GitHub Desktop.
.animate {
transition: border 1s, background 2s, color 3s;
}
element.on('transitionend', callback);
function callback(event) {
//Chrome, FF, Safari
//border
//background
//color
//Opera and IE
//border-left
//border-right
//border-top
//border-bottom
//background
//color
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment