Skip to content

Instantly share code, notes, and snippets.

@airen
Created July 7, 2015 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save airen/7ca192a869f8efecd2da to your computer and use it in GitHub Desktop.
Save airen/7ca192a869f8efecd2da to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
@mixin keyframes($name:test){
@-webkit-key-frames($name){
@content;
}
}
.test {
@include keyframes{
from{
width: 0;
}
to{
width: 10em;
}
}
}
.box {
@include keyframes(box){
from{
width: 0;
}
to{
width: 10em;
}
}
}
@-webkit-key-frames test {
.test from {
width: 0;
}
.test to {
width: 10em;
}
}
@-webkit-key-frames box {
.box from {
width: 0;
}
.box to {
width: 10em;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment