mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
42 lines
677 B
HTML
42 lines
677 B
HTML
<div class="loader">
|
|
<span class="bar"></span>
|
|
<span class="bar"></span>
|
|
<span class="bar"></span>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by aryamitra06 - Tags: loader */
|
|
.loader {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.bar {
|
|
display: inline-block;
|
|
width: 3px;
|
|
height: 20px;
|
|
background-color: rgba(255, 255, 255, .5);
|
|
border-radius: 10px;
|
|
animation: scale-up4 1s linear infinite;
|
|
}
|
|
|
|
.bar:nth-child(2) {
|
|
height: 35px;
|
|
margin: 0 5px;
|
|
animation-delay: .25s;
|
|
}
|
|
|
|
.bar:nth-child(3) {
|
|
animation-delay: .5s;
|
|
}
|
|
|
|
@keyframes scale-up4 {
|
|
20% {
|
|
background-color: #ffff;
|
|
transform: scaleY(1.5);
|
|
}
|
|
|
|
40% {
|
|
transform: scaleY(1);
|
|
}
|
|
}
|
|
</style>
|