galaxy/loaders/NlghtM4re_popular-crab-99.html

75 lines
1.4 KiB
HTML

<div class="loader">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<style>
/* From Uiverse.io by NlghtM4re - Tags: loader, cube, shadow, glow, colorful */
.loader {
height: 120px;
width: 120px;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.loader div {
height: 30px;
width: 30px;
position: absolute;
animation: move 4s infinite;
}
.loader div:nth-child(1) {
background-color: rgb(158, 136, 246);
box-shadow: rgb(158, 136, 246) 0px 7px 29px 0px;
transform: translate(-30px,-30px);
animation-delay: -1s;
}
.loader div:nth-child(2) {
background-color: rgb(97, 183, 253);
box-shadow: rgb(97, 183, 253) 0px 7px 29px 0px;
transform: translate(30px,-30px);
animation-delay: -2s;
}
.loader div:nth-child(3) {
background-color: rgb(95, 249, 175);
box-shadow: rgb(95, 249, 175) 0px 7px 29px 0px;
transform: translate(30px,30px);
animation-delay: -3s;
}
.loader div:nth-child(4) {
background-color: rgb(243, 171, 89);
box-shadow: rgb(243, 171, 89) 0px 7px 29px 0px;
transform: translate(-30px,30px);
animation-delay: -4s;
}
@keyframes move {
0% {
transform: translate(-30px, -30px);
}
25% {
transform: translate(30px, -30px);
}
50% {
transform: translate(30px, 30px);
}
75% {
transform: translate(-30px, 30px);
}
100% {
transform: translate(-30px, -30px);
}
}
</style>