mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
35 lines
631 B
HTML
35 lines
631 B
HTML
<div class="loader-container">
|
|
<div class="loader"></div>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by Leoodaviid - Tags: loader */
|
|
.loader-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.loader {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
50% {
|
|
transform: rotate(180deg);
|
|
box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4);
|
|
}
|
|
}
|
|
</style>
|