ldrs
Version:
Minimalist loading animations for React and web components
37 lines (34 loc) • 819 B
CSS
.container_fb22d5 {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
height: calc(var(--uib-size) * 0.25);
width: var(--uib-size);
}
.inner_cb57ea {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
height: 100%;
width: 100%;
}
.inner_cb57ea::before {
content: "";
height: calc(var(--uib-size) * 0.25);
width: 25%;
border-radius: 50%;
animation: wobble_f7863d var(--uib-speed) calc(var(--uib-speed) * -0.1) ease-in-out infinite;
transform: translate(0, calc(var(--uib-size) * -0.4));
background-color: var(--uib-color);
transition: background-color 0.3s ease;
}
@keyframes wobble_f7863d {
0%, 100% {
transform: translateX(0);
}
50% {
transform: translateX(calc(var(--uib-size) * 0.75));
}
}