Performance
PassFrame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.3 KB · Runtime 1.1 KB
bubble33MITLoaderCSS 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.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.3 KB · Runtime 1.1 KB
Issues 0 · Screen reader: Pass
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;
--color-2: #ff3d00;
--size: 1px;
width: calc(48 * var(--size));
height: calc(48 * var(--size));
border-radius: 50%;
display: block;
margin: calc(30 * var(--size)) auto;
position: relative;
background: var(--color-1);
box-sizing: border-box;
}
.loader::after {
content: '';
position: absolute;
inset: 0;
border-radius: 50%;
box-sizing: border-box;
box-shadow: 0 calc(-40 * var(--size)) 0 calc(-16 * var(--size)) var(--color-2);
animation: orbit 1.2s linear infinite;
}
@keyframes orbit {
100% {
transform: rotate(360deg);
}
}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 orange dot orbits a 48px white circle every 1.2s, like a moon around a planet.
Loading on dark backgrounds and space-themed apps.
Change --color-1 (#fff), --color-2 (#ff3d00), --size (1px base), the -40 orbit offset and the 1.2s orbit.
Build a "Orbiting dot loading animation" component in plain HTML, CSS and JavaScript (no framework). A small orange dot orbits a 48px white circle every 1.2s, like a moon around a planet. Use it for: Loading on dark backgrounds and space-themed apps. Expose these controls: Change --color-1 (#fff), --color-2 (#ff3d00), --size (1px base), the -40 orbit offset and the 1.2s orbit. 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.