Skip to content

Commit

Permalink
Launching a new loader to space! 🚀 - https://uiverse.io/Subaashbala/m…
Browse files Browse the repository at this point in the history
uiverse-astronaut committed Feb 15, 2024
1 parent f1cdc6c commit 55e8889
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions loaders/Subaashbala_massive-moth-6.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<div class="loaderContainer">
<div class="particleContainer">
<div></div>
<div></div>
<div></div>
</div>
<div class="particleContainer">
<div></div>
<div></div>
<div></div>
</div>
</div>

<style>
/* From Uiverse.io by Subaashbala - Tags: loader, animated, loading animation */
.loaderContainer {
display: flex;
width: 9em;
overflow: hidden;
gap: 0.5em;
}
.particleContainer {
display: flex;
gap: 0.5em;
animation: slide 2000ms linear infinite;
}
.particleContainer div {
width: 2.5em;
aspect-ratio: 1;
border-radius: 5px;
background: whitesmoke;
transform-origin: left bottom;
animation: squeeze 750ms ease-in-out infinite;
}
.particleContainer div:nth-child(2) {
animation-delay: 50ms;
}
.particleContainer div:last-child {
animation-delay: 100ms;
}
@keyframes squeeze {
0% {
transform: scale(1) translateY(0);
}
50% {
transform: scale(0.75);
}
75% {
transform: scale(1.05);
}
100% {
transform: sclae(1);
}
}
@keyframes slide {
from {
transform: translateX(0%);
}
to {
transform: translateX(calc(-50% + 1.25em));
}
}

</style>

0 comments on commit 55e8889

Please sign in to comment.