galaxy/loaders/boryanakrasteva_fast-eagle-21.html

64 lines
1 KiB
HTML

<div class="loader">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<style>
/* From Uiverse.io by boryanakrasteva - Tags: loader */
.loader {
position: relative;
}
.circle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0px;
height: 0px;
border-radius: 100%;
opacity: 0;
animation: pulse_4923 4s infinite linear;
border: 0.5px solid #f3f3f3;
box-shadow: 0px 0px 5px #eef0e5;
}
.circle:nth-child(1) {
animation-delay: .2s;
}
.circle:nth-child(2) {
animation-delay: .4s;
}
.circle:nth-child(3) {
animation-delay: .8s;
}
.circle:nth-child(4) {
animation-delay: 1s;
}
@keyframes pulse_4923 {
0% {
opacity: 0.0;
width: 0px;
height: 0px;
transform: translate(-50%, -50%) scale(1);
}
10% {
opacity: 0.5;
transform: translate(-50%, -50%) scale(2);
}
100% {
opacity: 0.0;
width: 100px;
height: 100px;
transform: translate(-50%, -50%) scale(1);
}
}
</style>