Skip to content

Instantly share code, notes, and snippets.

@jdeagle
Forked from doctyper/gist:1644192
Created November 2, 2012 18:46
Show Gist options
  • Save jdeagle/4003501 to your computer and use it in GitHub Desktop.
Save jdeagle/4003501 to your computer and use it in GitHub Desktop.
Just some animation SCSS mixins.
@mixin animation($animation, $animation-2: none, $animation-3: none) {
@each $prefix in webkit, moz, ms {
#{""}-#{$prefix}-animation: $animation, $animation-2, $animation-3;
}
}
@mixin animation-name($name) {
@include experimental(animation-name, $name);
}
@mixin animation-duration($duration) {
@include experimental(animation-duration, $duration);
}
@mixin animation-delay($delay) {
@include experimental(animation-delay, $delay);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment