Created
December 30, 2015 12:06
-
-
Save cimmanon/b97ca51f1e7e4216a06f 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
| // ---- | |
| // Sass (v3.4.20) | |
| // Compass (v1.0.3) | |
| // ---- | |
| @mixin createKeyframes($animationName) { | |
| @-webkit-keyframes #{$animationName} { | |
| @content; | |
| } | |
| @-moz-keyframes #{$animationName} { | |
| @content; | |
| } | |
| @-o-keyframes #{$animationName} { | |
| @content; | |
| } | |
| @-ms-keyframes #{$animationName} { | |
| @content; | |
| } | |
| @keyframes #{$animationName} { | |
| @content; | |
| } | |
| } | |
| @include createKeyframes('spin') { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } |
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
| @-webkit-keyframes spin { | |
| from { | |
| transform: rotate(0deg); | |
| } | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| @-moz-keyframes spin { | |
| from { | |
| transform: rotate(0deg); | |
| } | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| @-o-keyframes spin { | |
| from { | |
| transform: rotate(0deg); | |
| } | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| @-ms-keyframes spin { | |
| from { | |
| transform: rotate(0deg); | |
| } | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| @keyframes spin { | |
| from { | |
| transform: rotate(0deg); | |
| } | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment