Last active
August 18, 2019 07:17
-
-
Save Tomotoes/edf096e22a7f323fcc2a8f96c789fb5c to your computer and use it in GitHub Desktop.
Loading renderings
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 class="loading"></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
body { | |
background-color: #000; | |
overflow-y: hidden; | |
} | |
.loading { | |
height: 10em; | |
width: 10em; | |
margin: 100px auto; | |
border: 1.1em solid rgba(255, 255, 255, 0.2); | |
border-left-color: #fff; | |
border-radius: 100%; | |
animation: load 1.1s infinite linear; | |
} | |
@keyframes load { | |
to { | |
transform: rotate(1turn); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment