Performance
Needs attentionFrame rate: 49 fps average, p5 29.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 4.6 KB · Runtime 2.2 KB
fill-circleApache-2.0LoaderMaterial Loaders
A loader built with plain HTML and CSS by theIYD. Collected from Material Loaders under the Apache-2.0 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: 49 fps average, p5 29.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 4.6 KB · Runtime 2.2 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.
<div class="mloader fill-circle">
<span></span>
</div>/* Copyright 2017 Idrees Dargahwala
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License. */
.mloader {
width: 45px;
height: 45px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto; }
.fill-circle {
border-radius: 50%;
border: 12px solid #000000;
z-index: 1;
position: absolute;
background: transparent;
-webkit-animation: fill-circle 4s cubic-bezier(1, 0, 0, 1) infinite;
animation: fill-circle 4s cubic-bezier(1, 0, 0, 1) infinite; }
.fill-circle span {
position: absolute;
border: 5px solid #000000;
background: #000000;
border-right: transparent;
border-left: transparent;
border-bottom: transparent;
width: 100%;
left: 0;
bottom: 0;
height: 0%;
-webkit-animation: inner-circle-fill 4s cubic-bezier(1, 0, 0, 1) infinite;
animation: inner-circle-fill 4s cubic-bezier(1, 0, 0, 1) infinite;
z-index: -99999;
-webkit-animation-delay: 1ms;
animation-delay: 1ms; }
@keyframes fill-circle {
0%, 100% {
border-color: #ff9800; }
50% {
border-color: #4caf50; } }
@keyframes inner-circle-fill {
0%, 100% {
height: 0%;
background: #ff9800;
border-color: #ff9800; }
50% {
height: 100%;
background: #4caf50;
border-color: #4caf50; } }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 thick black ring fills up from the bottom like a glass of liquid, then empties, on a sharp 4s cubic-bezier(1,0,0,1).
Progress, uploads and minimal light pages.
Change the #000000 colour, the 12px ring border, the 45px size and the 4s fill-circle and inner fill timing.
Build a "Filling circle loading animation" component in plain HTML, CSS and JavaScript (no framework). A thick black ring fills up from the bottom like a glass of liquid, then empties, on a sharp 4s cubic-bezier(1,0,0,1). Use it for: Progress, uploads and minimal light pages. Expose these controls: Change the #000000 colour, the 12px ring border, the 45px size and the 4s fill-circle and inner fill timing. 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.