mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
56 lines
1 KiB
HTML
56 lines
1 KiB
HTML
<div class="loader"></div>
|
|
<style>
|
|
/* From Uiverse.io by Shoh2008 - Tags: loader */
|
|
.loader {
|
|
height: 150px;
|
|
width: 100px;
|
|
border-radius: 55px 55px 10px 10px;
|
|
position: relative;
|
|
background: #FF3D00;
|
|
background-image: linear-gradient(0deg,
|
|
#f63a99 25%,
|
|
#30dcf6 25%,
|
|
#30dcf6 25%,
|
|
#30dcf6 50%,
|
|
#f2d200 50%,
|
|
#f2d200 50%,
|
|
#f2d200 75%,
|
|
#70ca5c 75%);
|
|
background-position: 0px 0px;
|
|
background-size: auto 175px;
|
|
background-repeat: repeat-y;
|
|
animation: colorShift 6s linear infinite;
|
|
}
|
|
|
|
.loader:before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 10px;
|
|
bottom: 15px;
|
|
width: 15px;
|
|
height: 100px;
|
|
border-radius: 50px;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.loader:after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 100%;
|
|
transform: translate(-50% , 0);
|
|
box-shadow: 0 15px 2px rgba(0, 0, 0, 0.25) inset;
|
|
width: 32px;
|
|
height: 45px;
|
|
background: #E09C5F;
|
|
border-radius: 0 0 12px 12px;
|
|
}
|
|
|
|
@keyframes colorShift {
|
|
to {
|
|
background-position: 0 175px
|
|
}
|
|
}
|
|
|
|
|
|
</style>
|