Last active
December 18, 2015 08:00
-
-
Save SimplGy/5751159 to your computer and use it in GitHub Desktop.
SASS Animation Play
This file contains hidden or 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
$colorGood: lawngreen | |
.circle | |
background: $colorGood | |
.circle.yay | |
+animation( blammo .5s ) | |
+keyframes(blammo) | |
0%, 100% | |
+transform( scale(1) ) | |
box-shadow: 0 0 0 0 transparent | |
10%, 80% | |
box-shadow: 0 0 0 $size transparentize($colorGood,.9), 0 0 0 $size transparent | |
20%, 60% | |
box-shadow: 0 0 0 $size transparentize($colorGood,.8), 0 0 0 $size * 2 transparentize($colorGood,.9), 0 0 0 $size * 2 transparent | |
30% | |
+transform( scale(1.05) ) | |
box-shadow: 0 0 0 $size transparentize($colorGood,.7), 0 0 0 $size * 2 transparentize($colorGood,.8), 0 0 0 $size * 3 transparentize($colorGood,.9) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Assumes SASS and bourbon