Last active
August 29, 2015 14:08
-
-
Save mirisuzanne/6506e0210990a7d971eb 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
| <span class="spinner"></span> |
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.6) | |
| // Compass (v1.0.1) | |
| // ---- | |
| @import "compass"; | |
| @include keyframes(spin) { | |
| from { | |
| background: rgba(rebeccapurple, .5); | |
| } | |
| 50% { | |
| background: rgba(rebeccapurple, .75); | |
| } | |
| to { | |
| background: rgba(rebeccapurple, .5); | |
| transform: rotate(1turn); | |
| } | |
| } | |
| .spinner { | |
| @include animation(spin 1s linear infinite both); | |
| background-clip: padding-box; | |
| border: .375rem solid rgba(rebeccapurple, .5); | |
| border-radius: 100%; | |
| border-top-color: rgba(rebeccapurple, .75); | |
| display: inline-block; | |
| height: 1rem; | |
| width: 1rem; | |
| } |
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 spin { | |
| from { | |
| background: rgba(102, 51, 153, 0.5); | |
| } | |
| 50% { | |
| background: rgba(102, 51, 153, 0.75); | |
| } | |
| to { | |
| background: rgba(102, 51, 153, 0.5); | |
| transform: rotate(1turn); | |
| } | |
| } | |
| @-webkit-keyframes spin { | |
| from { | |
| background: rgba(102, 51, 153, 0.5); | |
| } | |
| 50% { | |
| background: rgba(102, 51, 153, 0.75); | |
| } | |
| to { | |
| background: rgba(102, 51, 153, 0.5); | |
| transform: rotate(1turn); | |
| } | |
| } | |
| @keyframes spin { | |
| from { | |
| background: rgba(102, 51, 153, 0.5); | |
| } | |
| 50% { | |
| background: rgba(102, 51, 153, 0.75); | |
| } | |
| to { | |
| background: rgba(102, 51, 153, 0.5); | |
| transform: rotate(1turn); | |
| } | |
| } | |
| .spinner { | |
| -moz-animation: spin 1s linear infinite both; | |
| -webkit-animation: spin 1s linear infinite both; | |
| animation: spin 1s linear infinite both; | |
| background-clip: padding-box; | |
| border: 0.375rem solid rgba(102, 51, 153, 0.5); | |
| border-radius: 100%; | |
| border-top-color: rgba(102, 51, 153, 0.75); | |
| display: inline-block; | |
| height: 1rem; | |
| width: 1rem; | |
| } |
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
| <span class="spinner"></span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment