mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
43 lines
849 B
HTML
43 lines
849 B
HTML
<div class="loader"></div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by doniaskima - Tags: simple, material design, skeuomorphism, glassmorphism, animation, loader */
|
|
/* HTML: <div class="loader"></div> */
|
|
.loader {
|
|
width: 35px;
|
|
height: 80px;
|
|
position: relative;
|
|
}
|
|
|
|
.loader:after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
padding: 3px 5px;
|
|
border-top: 1px solid #bbb6aa;
|
|
border-bottom: 4px solid #bbb6aa;
|
|
background: linear-gradient(#612329 0 0) bottom no-repeat content-box,
|
|
#e4e0d7;
|
|
mix-blend-mode: darken;
|
|
animation: l1 1.5s infinite linear;
|
|
}
|
|
|
|
.loader:before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -18px calc(50% - 2px) 8px;
|
|
background: #eb6b3e;
|
|
transform-origin: bottom;
|
|
transform: rotate(8deg);
|
|
}
|
|
|
|
@keyframes l1 {
|
|
0% {
|
|
background-size: 100% 100%
|
|
}
|
|
|
|
100% {
|
|
background-size: 100% 5%
|
|
}
|
|
}
|
|
</style>
|