-
-
Save codebucks27/8e5552dcc539f15aca7916480b84c3dc 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
.spinner { | |
width: 300px; | |
height: 300px; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
background-color: transparent; | |
} | |
.spinner span { | |
font-size: 2rem; | |
animation: fade 1s linear 0s infinite; | |
padding-right: 1rem; | |
} | |
.half-spinner { | |
width: 50px; | |
height: 50px; | |
border: 3px solid #03fc4e; | |
border-top: 3px solid transparent; | |
border-radius: 50%; | |
animation: spin 0.5s linear 0s infinite; | |
} | |
.completed { | |
font-size: 2rem; | |
color: #03fc4e; | |
animation: bigger 1s linear; | |
} | |
@keyframes bigger { | |
from { | |
transform: scale(0); | |
} | |
to { | |
transform: scale(2); | |
} | |
} | |
@keyframes spin { | |
from { | |
transform: rotate(0); | |
} | |
to { | |
transform: rotate(360deg); | |
} | |
} | |
@keyframes fade { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment