Created
December 7, 2016 19:47
-
-
Save lgarron/b4638860cc170f5dc1f02336b62a0b71 to your computer and use it in GitHub Desktop.
hstspreload spinner
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
html, body { | |
height: 100%; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
} | |
.spinner { | |
width: 2em; | |
height: 2em; | |
border-radius: 1.25em; | |
border: 0.25em solid rgba(0, 0, 0, 0); | |
border-top: 0.25em solid rgba(0, 0, 0, 0.7); | |
border-right: 0.25em solid rgba(0, 0, 0, 0.7); | |
animation: spinnerRotate 1s linear infinite; | |
} | |
@keyframes spinnerRotate{ | |
from { transform:rotate(0deg); } | |
to { transform:rotate(360deg); } | |
} |
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
<div id="spinner" class="spinner"></div> |
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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment