Created
February 16, 2015 17:25
-
-
Save cimmanon/2413d0894bf609e80b5d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="circle-thing">foo</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
@import "compass"; | |
@include keyframes(expand-o-band) { | |
0% { | |
/* prefixed property */ | |
@include border-radius(0); | |
} | |
100% { | |
@include border-radius(1em); | |
@include background(linear-gradient(to bottom, black, white)); | |
} | |
} | |
.circle-thing { | |
@include animation(expand-o-band 1.5s infinite); | |
background: yellow; | |
padding: 5em; | |
border: 1px solid; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-keyframes expand-o-band { | |
0% { | |
/* prefixed property */ | |
-moz-border-radius: 0; | |
border-radius: 0; | |
} | |
100% { | |
-moz-border-radius: 1em; | |
border-radius: 1em; | |
background: -moz-linear-gradient(top, #000000, #ffffff); | |
background: linear-gradient(to bottom, #000000, #ffffff); | |
} | |
} | |
@-webkit-keyframes expand-o-band { | |
0% { | |
/* prefixed property */ | |
-webkit-border-radius: 0; | |
border-radius: 0; | |
} | |
100% { | |
-webkit-border-radius: 1em; | |
border-radius: 1em; | |
background: -webkit-linear-gradient(top, #000000, #ffffff); | |
background: linear-gradient(to bottom, #000000, #ffffff); | |
} | |
} | |
@keyframes expand-o-band { | |
0% { | |
/* prefixed property */ | |
-moz-border-radius: 0; | |
-webkit-border-radius: 0; | |
border-radius: 0; | |
} | |
100% { | |
-moz-border-radius: 1em; | |
-webkit-border-radius: 1em; | |
border-radius: 1em; | |
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #000000), color-stop(100%, #ffffff)); | |
background: -moz-linear-gradient(top, #000000, #ffffff); | |
background: -webkit-linear-gradient(top, #000000, #ffffff); | |
background: linear-gradient(to bottom, #000000, #ffffff); | |
} | |
} | |
.circle-thing { | |
-moz-animation: expand-o-band 1.5s infinite; | |
-webkit-animation: expand-o-band 1.5s infinite; | |
animation: expand-o-band 1.5s infinite; | |
background: yellow; | |
padding: 5em; | |
border: 1px solid; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="circle-thing">foo</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment