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/f10a1c3a5670ac87e0d0c0f66efc9154 to your computer and use it in GitHub Desktop.
Save iamryanyu/f10a1c3a5670ac87e0d0c0f66efc9154 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