Created
April 16, 2013 14:30
-
-
Save mastastealth/5396362 to your computer and use it in GitHub Desktop.
Some SASS mixins for animation stuff
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
@mixin animation ($animations) { | |
-moz-animation: $animations; | |
-o-animation: $animations; | |
-webkit-animation: $animations; | |
animation: $animations; | |
} | |
@mixin animation-fill-mode ($mode) { | |
-moz-animation-fill-mode: $mode; | |
-o-animation-fill-mode: $mode; | |
-webkit-animation-fill-mode: $mode; | |
animation-fill-mode: $mode; | |
} | |
@mixin keyframes($animation) { | |
@-moz-keyframes #{$animation} { @content } | |
@-o-keyframes #{$animation} { @content } | |
@-webkit-keyframes #{$animation} { @content } | |
@keyframes #{$animation} { @content } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment