UNPKG

ldrs

Version:

Minimalist loading animations for React and web components

50 lines (43 loc) 1.11 kB
.container_577783 { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; height: calc(var(--uib-size) * 0.5); width: var(--uib-size); } .inner_07d092 { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; height: 100%; } .dot_125fd4 { flex-shrink: 0; width: calc(var(--uib-size) * 0.17); height: calc(var(--uib-size) * 0.17); border-radius: 50%; background-color: var(--uib-color); transition: background-color 0.3s ease; } .dot_125fd4:nth-child(1) { animation: jump_b88a1c var(--uib-speed) ease-in-out calc(var(--uib-speed) * -0.45) infinite; } .dot_125fd4:nth-child(2) { animation: jump_b88a1c var(--uib-speed) ease-in-out calc(var(--uib-speed) * -0.3) infinite; } .dot_125fd4:nth-child(3) { animation: jump_b88a1c var(--uib-speed) ease-in-out calc(var(--uib-speed) * -0.15) infinite; } .dot_125fd4:nth-child(4) { animation: jump_b88a1c var(--uib-speed) ease-in-out infinite; } @keyframes jump_b88a1c { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-200%); } }