Performance
PassFrame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.1 KB · Runtime 1.5 KB
dot-elasticMITLoaderthree-dots
A loader built with plain HTML and CSS by nzbin. Collected from three-dots under the MIT licence and shown here live.
Quality report
The grade and score come from automated checks run at build or test time. If a check did not run, it is marked Not tested — numbers are never invented.
Frame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.1 KB · Runtime 1.5 KB
Issues 0 · Screen reader: Needs attention
Honours reduced motion
No overflow
Frame rate and long-task figures were measured in headless Chromium with software WebGL. They are only comparable between components on this site, and do not represent real devices.
No axe-core violations.

Checked Nov 15, 2026 · Figures come from an automated script, not from hand-written samples.
Shown at real size.
The copy starts with the licence notice. Keep it when you use the code.
<div class="dot-elastic"></div>.dot-elastic {
position: relative;
width: 10px;
height: 10px;
border-radius: 5px;
background-color: #9880ff;
color: #9880ff;
animation: dot-elastic 1s infinite linear;
}
.dot-elastic::before, .dot-elastic::after {
content: "";
display: inline-block;
position: absolute;
top: 0;
}
.dot-elastic::before {
left: -15px;
width: 10px;
height: 10px;
border-radius: 5px;
background-color: #9880ff;
color: #9880ff;
animation: dot-elastic-before 1s infinite linear;
}
.dot-elastic::after {
left: 15px;
width: 10px;
height: 10px;
border-radius: 5px;
background-color: #9880ff;
color: #9880ff;
animation: dot-elastic-after 1s infinite linear;
}
@keyframes dot-elastic-before {
0% {
transform: scale(1, 1);
}
25% {
transform: scale(1, 1.5);
}
50% {
transform: scale(1, 0.67);
}
75% {
transform: scale(1, 1);
}
100% {
transform: scale(1, 1);
}
}
@keyframes dot-elastic {
0% {
transform: scale(1, 1);
}
25% {
transform: scale(1, 1);
}
50% {
transform: scale(1, 1.5);
}
75% {
transform: scale(1, 1);
}
100% {
transform: scale(1, 1);
}
}
@keyframes dot-elastic-after {
0% {
transform: scale(1, 1);
}
25% {
transform: scale(1, 1);
}
50% {
transform: scale(1, 0.67);
}
75% {
transform: scale(1, 1.5);
}
100% {
transform: scale(1, 1);
}
}Controls · HTML · CSS · JS
Edit the code and tune it with the controls. The preview updates as you type.

This component runs from a bundled build, so its script is read-only here. Edit the HTML and CSS; the full source is in the Code tab.
Edit every component live, tune it with controls, download the full source and copy the advanced prompts.
$49 one-timePlaceholder price
Test mode: no real payment is taken.
Free: preview, copy buttons and the lesson notes.
Three violet 10px dots stretch and squash in turn on a 1s loop, a gentle and rubbery way to say wait.
Typing indicators, chat replies and inline waits.
Change the #9880ff colour, the 10px size, the 15px spacing and the 1s dot-elastic keyframes.
Build a "Elastic three dots" component in plain HTML, CSS and JavaScript (no framework). Three violet 10px dots stretch and squash in turn on a 1s loop, a gentle and rubbery way to say wait. Use it for: Typing indicators, chat replies and inline waits. Expose these controls: Change the #9880ff colour, the 10px size, the 15px spacing and the 1s dot-elastic keyframes. Support light and dark themes, respect prefers-reduced-motion with a still frame, keep text readable and controls keyboard accessible. Write original code; do not copy from paid or restricted component libraries.
A longer prompt with tuning, accessibility and integration steps.