ldrs
Version:
Minimalist loading animations for React and web components
45 lines (41 loc) • 806 B
CSS
.container_abf42d {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
height: var(--uib-size);
width: var(--uib-size);
}
.inner_fed887 {
position: relative;
height: var(--uib-size);
width: var(--uib-size);
}
.inner_fed887::before,
.inner_fed887::after {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
border-radius: 50%;
background-color: var(--uib-color);
animation: pulse_b83402 var(--uib-speed) linear infinite;
transform: scale(0);
opacity: 0;
transition: background-color 0.3s ease;
}
.inner_fed887::after {
animation-delay: calc(var(--uib-speed) / -2);
}
@keyframes pulse_b83402 {
0% {
transform: scale(0);
opacity: 1;
}
100% {
transform: scale(1);
opacity: 0;
}
}