Created
January 20, 2023 15:09
-
-
Save calderaro/fb8fa075c339b8da16a7f74ad7d3cc58 to your computer and use it in GitHub Desktop.
widget loading animation
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<div class="container"> | |
<img | |
src="https://firebasestorage.googleapis.com/v0/b/tpf-apps.appspot.com/o/online-auth%2FOA%20loader.svg?alt=media&token=5027c2ec-4ca5-447c-b451-6708eae32072" | |
class="loader" | |
/> | |
</div> | |
<style> | |
body { | |
width: 100vw; | |
height: 100vh; | |
padding: 0; | |
margin: 0; | |
} | |
.container { | |
width: 100%; | |
height: 100%; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.loader { | |
display: block; | |
width: 6em; | |
height: 6em; | |
margin: 3em auto 0 auto; | |
animation-name: spinnerAnimation; | |
animation-duration: 1s; | |
animation-iteration-count: infinite; | |
animation-timing-function: linear; | |
} | |
@keyframes spinnerAnimation { | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(360deg); | |
} | |
} | |
</style> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment