-
-
Save marciobarrios/6164629 to your computer and use it in GitHub Desktop.
Spinner adjustments, original by Gloria Langreo (http://dabblet.com/gist/6163594)
This file contains 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
/** | |
* Spinner adjustments, original by Gloria Langreo (http://dabblet.com/gist/6163594) | |
*/ | |
* { margin: 0; padding: 0; } | |
body { background-color: #434343; text-align:center; padding: 2em; } | |
.spinner { display: inline-block; margin-left: -2px; } | |
.spinner li { | |
display: inline-block; | |
width: 4px; | |
height: 12px; | |
margin-left: 2px; | |
background-color: #fff; | |
animation: 1s spin infinite alternate; | |
} | |
.spinner li:nth-child(2) { animation-delay: .125s; } | |
.spinner li:nth-child(3) { animation-delay: .25s; } | |
.spinner li:nth-child(4) { animation-delay: .325s; } | |
@keyframes spin { | |
25%, 75% { opacity: 0; } | |
} |
This file contains 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
<ul class="spinner"><li><li><li><li></ul> |
This file contains 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
// alert('Hello world!'); |
This file contains 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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment