Skip to content

Instantly share code, notes, and snippets.

@iamryanyu
Created April 24, 2016 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamryanyu/176ca0976ac6c580d4c13c70cf6a547b to your computer and use it in GitHub Desktop.
Save iamryanyu/176ca0976ac6c580d4c13c70cf6a547b to your computer and use it in GitHub Desktop.
TweenMax.to($('.graph__bar--red'), 1.2, {
scaleY: 1.5,
transformOrigin: '50% bottom',
ease: Elastic.easeOut.config(1, 0.2)
});
TweenMax.to($('.graph__bar--green'), 1.2, {
scaleY: 0.4,
transformOrigin: '50% bottom',
ease: Elastic.easeOut.config(1, 0.2)
});
TweenMax.to($('.graph__bar--yellow'), 1.2, {
scaleY: 1.3,
transformOrigin: '50% bottom',
ease: Elastic.easeOut.config(1, 0.2)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment