Violet Ripple Dark
Pulse · Ripple · dark, smooth
HTML
<div class="utw-loader-violet-ripple-dark" role="status"> <span class="utw-loader-violet-ripple-dark__ring"></span> <span class="utw-loader-violet-ripple-dark__ring"></span> <span class="utw-loader-violet-ripple-dark__sr">Loading…</span> </div>
CSS
/* Pulse loader (Ripple) */
.utw-loader-violet-ripple-dark {
box-sizing: border-box;
position: relative;
display: inline-block;
width: 72px;
height: 72px;
}
.utw-loader-violet-ripple-dark *,
.utw-loader-violet-ripple-dark *::before,
.utw-loader-violet-ripple-dark *::after {
box-sizing: border-box;
}
.utw-loader-violet-ripple-dark__ring {
position: absolute;
inset: 0;
border: 2px solid #a78bfa;
border-radius: 50%;
animation: utw-loader-violet-ripple-dark-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.utw-loader-violet-ripple-dark__ring:nth-child(2) {
animation-delay: -1s;
}
.utw-loader-violet-ripple-dark__sr {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
@keyframes utw-loader-violet-ripple-dark-ripple {
0% {
transform: scale(0.1);
opacity: 1;
}
100% {
transform: scale(1);
opacity: 0;
}
}
@keyframes utw-loader-violet-ripple-dark-calm {
from {
opacity: 1;
}
to {
opacity: 0.5;
}
}
@media (prefers-reduced-motion: reduce) {
.utw-loader-violet-ripple-dark *,
.utw-loader-violet-ripple-dark *::before,
.utw-loader-violet-ripple-dark *::after {
animation: none !important;
}
.utw-loader-violet-ripple-dark {
animation: utw-loader-violet-ripple-dark-calm 2s ease-in-out infinite alternate !important;
}
}