Created
December 3, 2021 21:34
-
-
Save pena56/790781b64baec6f4c7f37f6c1e7ccbe1 to your computer and use it in GitHub Desktop.
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
.lds-ring { | |
display: inline-block; | |
position: relative; | |
width: 80px; | |
height: 80px; | |
} | |
.lds-ring div { | |
box-sizing: border-box; | |
display: block; | |
position: absolute; | |
width: 64px; | |
height: 64px; | |
margin: 8px; | |
border: 8px solid #fff; | |
border-radius: 50%; | |
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; | |
border-color: #fff transparent transparent transparent; | |
} | |
.lds-ring div:nth-child(1) { | |
animation-delay: -0.45s; | |
} | |
.lds-ring div:nth-child(2) { | |
animation-delay: -0.3s; | |
} | |
.lds-ring div:nth-child(3) { | |
animation-delay: -0.15s; | |
} | |
@keyframes lds-ring { | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(360deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment