mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
29 lines
702 B
HTML
29 lines
702 B
HTML
<div class="loader"></div>
|
|
<style>
|
|
/* From Uiverse.io by doniaskima - Tags: simple, neumorphism, skeuomorphism, glassmorphism, flashy, icon, animation, loader */
|
|
/* HTML: <div class="loader"></div> */
|
|
.loader {
|
|
width: fit-content;
|
|
font-weight: bold;
|
|
font-family: monospace;
|
|
font-size: 30px;
|
|
background: linear-gradient(90deg,#000 50%,#0000 0) right/200% 100%;
|
|
animation: l21 2s infinite linear;
|
|
}
|
|
|
|
.loader::before {
|
|
content: "Loading...";
|
|
color: #0000;
|
|
padding: 0 5px;
|
|
background: inherit;
|
|
background-image: linear-gradient(90deg,#fff 50%,#000 0);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
}
|
|
|
|
@keyframes l21 {
|
|
100% {
|
|
background-position: left
|
|
}
|
|
}
|
|
</style>
|