UNPKG

ldrs

Version:

Minimalist loading animations for React and web components

53 lines (49 loc) 1.01 kB
.container_67e921 { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; height: calc(var(--uib-size) * 0.625); width: var(--uib-size); } .inner_d22de6 { height: calc(var(--uib-size) * 0.625); width: var(--uib-size); transform-origin: center; overflow: visible; } .car_31bdd5 { stroke: var(--uib-color); stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; stroke-linejoin: round; animation: travel_9c413c var(--uib-speed) ease-in-out infinite, fade_afd536 var(--uib-speed) ease-out infinite; will-change: stroke-dasharray, stroke-dashoffset; transition: stroke 0.5s ease; } .track_c27d9d { stroke-linecap: round; stroke-linejoin: round; stroke: var(--uib-color); opacity: var(--uib-bg-opacity); } @keyframes travel_9c413c { 0% { stroke-dashoffset: 100; } 75% { stroke-dashoffset: 0; } } @keyframes fade_afd536 { 0% { opacity: 0; } 20%, 55% { opacity: 1; } 100% { opacity: 0; } }