Skip to content

Instantly share code, notes, and snippets.

@gogachinchaladze
Created February 17, 2016 10:06
Show Gist options
  • Save gogachinchaladze/59e8b1f42ed65fac3f81 to your computer and use it in GitHub Desktop.
Save gogachinchaladze/59e8b1f42ed65fac3f81 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
@mixin keyframes($name) {
@-webkit-keyframes #{$name} {
@content;
}
@-moz-keyframes #{$name} {
@content;
}
@-o-keyframes #{$name} {
@content;
}
@keyframes #{$name} {
@content;
}
}
@include keyframes('change-background-color'){
0%{
background-color:red;
}
100%{
background-color:blue;
}
}
@-webkit-keyframes change-background-color {
0% {
background-color: red;
}
100% {
background-color: blue;
}
}
@-moz-keyframes change-background-color {
0% {
background-color: red;
}
100% {
background-color: blue;
}
}
@-o-keyframes change-background-color {
0% {
background-color: red;
}
100% {
background-color: blue;
}
}
@keyframes change-background-color {
0% {
background-color: red;
}
100% {
background-color: blue;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment