Skip to content

Instantly share code, notes, and snippets.

@matsko
Created October 14, 2015 21:14
Show Gist options
  • Save matsko/0755bd99b76b82e27491 to your computer and use it in GitHub Desktop.
Save matsko/0755bd99b76b82e27491 to your computer and use it in GitHub Desktop.
ctx.onLeave(
stagger(keyframe({
'0%': { transform: 'scale(1)' },
'25%': { transform: 'scale(1.4)' },
'100%': { transform: 'scale(0)', opacity: 0 },
}, 1000), staggerTimers.reverse(100))
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment