Skip to content

Instantly share code, notes, and snippets.

@padolsey
Created December 4, 2009 23:11
Show Gist options
  • Select an option

  • Save padolsey/249450 to your computer and use it in GitHub Desktop.

Select an option

Save padolsey/249450 to your computer and use it in GitHub Desktop.
$(ELEMENT).animate({
left: [ 200, 'easeInOut' ],
top: [ 100, 'easeInSine' ],
width: 500
}, 1000, 'linear');
// The "linear" easing will only be used for the
// "width" property as the other two ("top" & "left")
// have their own easing functions to follow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment