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.8 KB
bubble23MITLoaderCSS Loaders
A loader built with plain HTML and CSS by vineethtrv. Collected from CSS Loaders 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.8 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.
<span class="loader"></span>.loader {
--color-1: #fff;
--size: 1px;
width: calc(12 * var(--size));
height: calc(12 * var(--size));
border-radius: 50%;
display: block;
margin: calc(15 * var(--size)) auto;
position: relative;
color: var(--color-1);
box-sizing: border-box;
animation: animloader 2s linear infinite;
}
@keyframes animloader {
0% {
box-shadow:
calc(14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(38 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-38 * var(--size)) 0 0 calc(-2 * var(--size));
}
25% {
box-shadow:
calc(14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(38 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-38 * var(--size)) 0 0 calc(2 * var(--size));
}
50% {
box-shadow:
calc(14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(38 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-14 * var(--size)) 0 0 calc(2 * var(--size)),
calc(-38 * var(--size)) 0 0 calc(-2 * var(--size));
}
75% {
box-shadow:
calc(14 * var(--size)) 0 0 calc(2 * var(--size)),
calc(38 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-38 * var(--size)) 0 0 calc(-2 * var(--size));
}
100% {
box-shadow:
calc(14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(38 * var(--size)) 0 0 calc(2 * var(--size)),
calc(-14 * var(--size)) 0 0 calc(-2 * var(--size)),
calc(-38 * var(--size)) 0 0 calc(-2 * var(--size));
}
}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.
A small dot sends out four copies that slide apart and back on a 2s loop, like a breath in and out.
Light loading in buttons and status lines.
Change --color-1 (#fff), --size (1px base), the 14 and 38 unit offsets and the 2s animloader.
Build a "Spreading dots loading animation" component in plain HTML, CSS and JavaScript (no framework). A small dot sends out four copies that slide apart and back on a 2s loop, like a breath in and out. Use it for: Light loading in buttons and status lines. Expose these controls: Change --color-1 (#fff), --size (1px base), the 14 and 38 unit offsets and the 2s animloader. 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.