Skip to content

Commit

Permalink
Launching a new loader to space! 🚀 - https://uiverse.io/vikramsinghne…
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramsinghnegi committed Feb 14, 2024
1 parent 39abf70 commit e071b50
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions loaders/vikramsinghnegi_smooth-fox-31.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<div class="loader"></div>

<style>
/* From Uiverse.io by vikramsinghnegi - Tags: animation, loader, refresh loading */
/* HTML: <div class="loader"></div> */
.loader {
font-weight: bold;
font-family: monospace;
display: inline-grid;
font-size: 30px;
}
.loader:before,
.loader:after {
content: "Refresh....";
grid-area: 1/1;
-webkit-mask-size: 1.5ch 100%, 100% 100%;
-webkit-mask-repeat: no-repeat;
-webkit-mask-composite: xor;
mask-composite: exclude;
animation: l36-1 1s infinite;
}
.loader:before {
-webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
}
.loader:after {
-webkit-mask-image: linear-gradient(#000 0 0);
animation: l36-1 1s infinite,
l36-2 0.2s infinite cubic-bezier(0.5, 200, 0.5, -200);
}

@keyframes l36-1 {
0% {
-webkit-mask-position: 0 0, 0 0;
}
20% {
-webkit-mask-position: 0.5ch 0, 0 0;
}
40% {
-webkit-mask-position: 100% 0, 0 0;
}
60% {
-webkit-mask-position: 4.5ch 0, 0 0;
}
80% {
-webkit-mask-position: 6.5ch 0, 0 0;
}
100% {
-webkit-mask-position: 2.5ch 0, 0 0;
}
}
@keyframes l36-2 {
100% {
transform: translateY(0.2px);
}
}

</style>

0 comments on commit e071b50

Please sign in to comment.