galaxy/loaders/doniaskima_rare-newt-29.html

79 lines
1.8 KiB
HTML

<div class="loader"></div>
<style>
/* From Uiverse.io by doniaskima - Tags: simple, material design, neumorphism, loader */
.loader {
width: fit-content;
font-size: 17px;
font-family: monospace;
line-height: 1.4;
font-weight: bold;
background: linear-gradient(#000 0 0) left ,
linear-gradient(#000 0 0) right;
background-repeat: no-repeat;
border-right: 5px solid #0000;
border-left: 5px solid #0000;
background-origin: border-box;
position: relative;
animation: l9-0 2s infinite;
}
.loader::before {
content: "Loading";
}
.loader::after {
content: "";
position: absolute;
top: 100%;
left: 0;
width: 22px;
height: 60px;
background: linear-gradient(90deg,#000 4px,#0000 0 calc(100% - 4px),#000 0) bottom /22px 20px,
linear-gradient(90deg,red 4px,#0000 0 calc(100% - 4px),red 0) bottom 10px left 0/22px 6px,
linear-gradient(#000 0 0) bottom 3px left 0 /22px 8px,
linear-gradient(#000 0 0) bottom 0 left 50%/8px 16px;
background-repeat: no-repeat;
animation: l9-1 2s infinite;
}
@keyframes l9-0 {
0%,25% {
background-size: 50% 100%
}
25.1%,75% {
background-size: 0 0,50% 100%
}
75.1%,100% {
background-size: 0 0,0 0
}
}
@keyframes l9-1 {
25% {
background-position: bottom, bottom 54px left 0,bottom 3px left 0,bottom 0 left 50%;
left: 0
}
25.1% {
background-position: bottom, bottom 10px left 0,bottom 3px left 0,bottom 0 left 50%;
left: 0
}
50% {
background-position: bottom, bottom 10px left 0,bottom 3px left 0,bottom 0 left 50%;
left: calc(100% - 22px)
}
75% {
background-position: bottom, bottom 54px left 0,bottom 3px left 0,bottom 0 left 50%;
left: calc(100% - 22px)
}
75.1% {
background-position: bottom, bottom 10px left 0,bottom 3px left 0,bottom 0 left 50%;
left: calc(100% - 22px)
}
}
</style>