mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
74 lines
No EOL
1.2 KiB
HTML
74 lines
No EOL
1.2 KiB
HTML
<div class="container">
|
|
<div class="loader"></div>
|
|
<div class="loader"></div>
|
|
<div class="loader"></div>
|
|
<div class="loader"></div>
|
|
<div class="loader"></div>
|
|
</div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by Zadrus - Tags: simple, material design, animation, green, minimalist, loader, colorful, clean */
|
|
.container {
|
|
width: 200px;
|
|
height: 200px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.loader {
|
|
width: 20px;
|
|
height: 40px;
|
|
border-radius: 10px 50px;
|
|
box-shadow: 0px 0px 5px black;
|
|
animation: dominos 1s ease infinite;
|
|
}
|
|
|
|
.loader:nth-child(1) {
|
|
--left: 80px;
|
|
animation-delay: 0.325s;
|
|
background-color: #5d9960;
|
|
}
|
|
|
|
.loader:nth-child(2) {
|
|
--left: 70px;
|
|
animation-delay: 0.5s;
|
|
background-color: #82a587;
|
|
}
|
|
|
|
.loader:nth-child(3) {
|
|
left: 60px;
|
|
animation-delay: 0.625s;
|
|
background-color: #8bac74;
|
|
}
|
|
|
|
.loader:nth-child(4) {
|
|
animation-delay: 0.74s;
|
|
left: 50px;
|
|
background-color: #b9bf90;
|
|
}
|
|
|
|
.loader:nth-child(5) {
|
|
animation-delay: 0.865s;
|
|
left: 40px;
|
|
background-color: #e7d2ab;
|
|
}
|
|
|
|
@keyframes dominos {
|
|
50% {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
75% {
|
|
-webkit-transform: rotate(90deg);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
80% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
</style>
|
|
|