mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-27 20:50:21 +08:00
175 lines
2.5 KiB
HTML
175 lines
2.5 KiB
HTML
<div class="loading">
|
|
<span class="l">L</span>
|
|
<span class="o">o</span>
|
|
<span class="a">a</span>
|
|
<span class="d">d</span>
|
|
<span class="i">i</span>
|
|
<span class="n">n</span>
|
|
<span class="g">g</span>
|
|
<span class="d1">.</span>
|
|
<span class="d2">.</span>
|
|
<div class="load">
|
|
<div class="progress"></div>
|
|
<div class="progress"></div>
|
|
<div class="progress"></div>
|
|
<div class="progress"></div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by Praashoo7 - Tags: animation, loading, loader */
|
|
.loading {
|
|
transform: translate(0%, -50%);
|
|
}
|
|
|
|
.l {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op 2s ease-in-out infinite;
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.o {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op 2s ease-in-out infinite;
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.a {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op 2s ease-in-out infinite;
|
|
animation-delay: 0.6s;
|
|
}
|
|
|
|
.d {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op 2s ease-in-out infinite;
|
|
animation-delay: 0.8s;
|
|
}
|
|
|
|
.i {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op 2s ease-in-out infinite;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
.n {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op 2s ease-in-out infinite;
|
|
animation-delay: 1.2s;
|
|
}
|
|
|
|
.g {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op 2s ease-in-out infinite;
|
|
animation-delay: 1.4s;
|
|
}
|
|
|
|
.d1 {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op1 2s ease-in-out infinite;
|
|
animation-delay: 1.6s;
|
|
}
|
|
|
|
.d2 {
|
|
color: black;
|
|
opacity: 0;
|
|
animation: op1 2s ease-in-out infinite;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
.load {
|
|
position: relative;
|
|
width: 1.2em;
|
|
height: 1.2em;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.progress {
|
|
top: 50%;
|
|
left: -80%;
|
|
position: absolute;
|
|
margin-top: 2.2em;
|
|
transform: translate(10%, -50%);
|
|
content: '';
|
|
width: 3.1em;
|
|
height: 3.1em;
|
|
background: transparent;
|
|
border-radius: 50%;
|
|
animation: load_37100 2s ease-in-out infinite;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
@keyframes load_37100 {
|
|
0% {
|
|
background-color: #DB4437;
|
|
}
|
|
|
|
25% {
|
|
background-color: #F4B400;
|
|
}
|
|
|
|
75% {
|
|
background-color: #0F9D58;
|
|
}
|
|
|
|
100% {
|
|
background-color: #4285F4;
|
|
}
|
|
}
|
|
|
|
.progress:nth-child(2) {
|
|
left: 50%;
|
|
animation-delay: 1.3s;
|
|
}
|
|
|
|
.progress:nth-child(3) {
|
|
left: 180%;
|
|
animation-delay: 1.7s;
|
|
}
|
|
|
|
.progress:nth-child(4) {
|
|
left: 300%;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
@keyframes op {
|
|
0% {
|
|
color: black;
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
color: green;
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
color: black;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes op1 {
|
|
0% {
|
|
color: black;
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
color: green;
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
color: black;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
</style>
|