Last active
August 29, 2015 14:10
-
-
Save nevir/1a73d1a7dbf308e72980 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is what I want. (target inheritance, I think?) | |
element.animate( | |
new AnimationGroup([ | |
new Animation([ | |
{opacity: '0'}, | |
{opacity: '1'}], | |
{duration: 350}), | |
new Animation([ | |
{transform: 'scale(0)'}, | |
{transform: 'scale(1)'}, | |
], | |
{duration: 1000}, | |
]), | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is the current world, right? | |
element.animate( | |
new AnimationGroup(element, [ | |
new Animation(element, [ | |
{opacity: '0'}, | |
{opacity: '1'}], | |
{duration: 350}), | |
new Animation(element, [ | |
{transform: 'scale(0)'}, | |
{transform: 'scale(1)'}, | |
], | |
{duration: 1000}, | |
]), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment