-
-
Save soyluismunoz/39de0cd0ac83a657cdba07680417bfc9 to your computer and use it in GitHub Desktop.
css spin loader
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
.loader, | |
.loader:after { | |
border-radius: 50%; | |
width: 10em; | |
height: 10em; | |
} | |
.loader { | |
margin: 60px auto; | |
font-size: 10px; | |
position: relative; | |
text-indent: -9999em; | |
border-top: 1.1em solid rgba(255, 255, 255, 0.2); | |
border-right: 1.1em solid rgba(255, 255, 255, 0.2); | |
border-bottom: 1.1em solid rgba(255, 255, 255, 0.2); | |
border-left: 1.1em solid var(--dark-blue); | |
-webkit-transform: translateZ(0); | |
-ms-transform: translateZ(0); | |
transform: translateZ(0); | |
-webkit-animation: load8 1.1s infinite linear; | |
animation: load8 1.1s infinite linear; | |
} | |
@-webkit-keyframes load8 { | |
0% { | |
-webkit-transform: rotate(0deg); | |
transform: rotate(0deg); | |
} | |
100% { | |
-webkit-transform: rotate(360deg); | |
transform: rotate(360deg); | |
} | |
} | |
@keyframes load8 { | |
0% { | |
-webkit-transform: rotate(0deg); | |
transform: rotate(0deg); | |
} | |
100% { | |
-webkit-transform: rotate(360deg); | |
transform: rotate(360deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment