Skip to content

Instantly share code, notes, and snippets.

@mastastealth
Created April 16, 2013 14:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mastastealth/5396362 to your computer and use it in GitHub Desktop.
Save mastastealth/5396362 to your computer and use it in GitHub Desktop.
Some SASS mixins for animation stuff
@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