ldrs
Version:
Minimalist loading animations for React and web components
48 lines (41 loc) • 1.06 kB
CSS
.container_f782f4 {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
height: calc(var(--uib-size) * 0.9);
width: var(--uib-size);
}
.inner_37f4c9 {
display: flex;
align-items: center;
justify-content: space-between;
width: var(--uib-size);
height: calc(var(--uib-size) * 0.9);
}
.bar_409d0f {
width: var(--uib-stroke);
height: 100%;
background-color: var(--uib-color);
transition: background-color 0.3s ease;
}
.bar_409d0f:nth-child(1) {
animation: grow_ca6a4e var(--uib-speed) ease-in-out calc(var(--uib-speed) * -0.45) infinite;
}
.bar_409d0f:nth-child(2) {
animation: grow_ca6a4e var(--uib-speed) ease-in-out calc(var(--uib-speed) * -0.3) infinite;
}
.bar_409d0f:nth-child(3) {
animation: grow_ca6a4e var(--uib-speed) ease-in-out calc(var(--uib-speed) * -0.15) infinite;
}
.bar_409d0f:nth-child(4) {
animation: grow_ca6a4e var(--uib-speed) ease-in-out infinite;
}
@keyframes grow_ca6a4e {
0%, 100% {
transform: scaleY(0.3);
}
50% {
transform: scaleY(1);
}
}