mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
93 lines
1.3 KiB
HTML
93 lines
1.3 KiB
HTML
<div class="loader">
|
|
<div class="dot"></div>
|
|
</div>
|
|
<div class="loader">
|
|
<div class="dot"></div>
|
|
</div>
|
|
<div class="loader">
|
|
<div class="dot"></div>
|
|
</div>
|
|
<div class="loader">
|
|
<div class="dot"></div>
|
|
</div>
|
|
<div class="loader">
|
|
<div class="dot"></div>
|
|
</div>
|
|
<div class="loader">
|
|
<div class="dot"></div>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by mrhyddenn - Tags: loader */
|
|
.loader {
|
|
height: 5px;
|
|
width: 1px;
|
|
position: absolute;
|
|
animation: rotate0234 3.5s linear infinite;
|
|
}
|
|
|
|
.loader .dot {
|
|
top: 30px;
|
|
height: 7px;
|
|
width: 7px;
|
|
background: #268fe4;
|
|
border-radius: 50%;
|
|
position: relative;
|
|
}
|
|
|
|
.text {
|
|
position: absolute;
|
|
bottom: -85px;
|
|
font-size: 25px;
|
|
font-weight: 400;
|
|
color: #26aee4;
|
|
}
|
|
|
|
@keyframes rotate0234 {
|
|
30% {
|
|
transform: rotate(220deg);
|
|
}
|
|
|
|
40% {
|
|
transform: rotate(450deg);
|
|
opacity: 1;
|
|
}
|
|
|
|
75% {
|
|
transform: rotate(720deg);
|
|
opacity: 1;
|
|
}
|
|
|
|
76% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
transform: rotate(0deg);
|
|
}
|
|
}
|
|
|
|
.loader:nth-child(1) {
|
|
animation-delay: 0.15s;
|
|
}
|
|
|
|
.loader:nth-child(2) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
.loader:nth-child(3) {
|
|
animation-delay: 0.45s;
|
|
}
|
|
|
|
.loader:nth-child(4) {
|
|
animation-delay: 0.6s;
|
|
}
|
|
|
|
.loader:nth-child(5) {
|
|
animation-delay: 0.75s;
|
|
}
|
|
|
|
.loader:nth-child(6) {
|
|
animation-delay: 0.9s;
|
|
}
|
|
</style>
|