Three dots sit on a shared baseline and jiggle like jelly one after another: a squash, a stretch and a few smaller wobbles that settle. Pure scale, anchored at the bottom edge.
Also known as: wobbly dots loader, squishy dots, jiggle dots animation.
<div class="ldr-jelly-dots" role="status" aria-label="Loading"> <span style="--i:0"></span><span style="--i:1"></span><span style="--i:2"></span> </div>
.ldr-jelly-dots {
--s: var(--ldr-size, 48px);
--c: var(--ldr-color, #3b82f6);
display: flex;
align-items: flex-end;
gap: calc(var(--s) / 6);
height: calc(var(--s) / 2);
}
.ldr-jelly-dots span {
width: calc(var(--s) / 3.6);
height: calc(var(--s) / 3.6);
border-radius: 50%;
background: var(--c);
transform-origin: 50% 100%;
animation: ldr-jelly-dots-wobble 1.5s ease-in-out infinite;
animation-delay: calc(var(--i) * 0.16s - 1.5s);
}
@keyframes ldr-jelly-dots-wobble {
0%, 52%, 100% { transform: scale(1, 1); }
9% { transform: scale(1.38, 0.66); }
19% { transform: scale(0.8, 1.28); }
28% { transform: scale(1.14, 0.88); }
37% { transform: scale(0.95, 1.06); }
45% { transform: scale(1.02, 0.98); }
}
@media (prefers-reduced-motion: reduce) {
.ldr-jelly-dots, .ldr-jelly-dots *, .ldr-jelly-dots::before, .ldr-jelly-dots::after, .ldr-jelly-dots *::before, .ldr-jelly-dots *::after {
animation-duration: 3s;
}
}--ldr-color on the element or a parent.
Currently previewing #3b82f6.--ldr-size. Every dimension in the snippet is
derived from it. Currently previewing 64px.animation shorthand.
Delays on the children are relative, so they keep their rhythm.role="status" and an
aria-label so screen readers announce the wait. The reduced-motion rule
at the end slows the animation for users who asked for less motion.