Skip to content

Instantly share code, notes, and snippets.

@LuisReyes98
Created April 20, 2021 17:42
Show Gist options
  • Save LuisReyes98/9dad33f848aab8bd6431b77bbd80c00d to your computer and use it in GitHub Desktop.
Save LuisReyes98/9dad33f848aab8bd6431b77bbd80c00d to your computer and use it in GitHub Desktop.
@mixin keyframes($name) {
@-webkit-keyframes #{unquote($name)}{
@content;
}
@-moz-keyframes #{unquote($name)}{
@content;
}
@-ms-keyframes #{unquote($name)}{
@content;
}
@keyframes #{unquote($name)}{
@content;
}
}
@mixin animation_property($name,$value){
-webkit-#{unquote($name)}: unquote($value);
-moz-#{unquote($name)}: unquote($value);
-ms-#{unquote($name)}: unquote($value);
-o-#{unquote($name)}: unquote($value);
#{unquote($name)}: unquote($value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment