Performance
PassFrame rate: 55 fps average, p5 30 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 4.7 KB · Runtime 2.8 KB
timerApache-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: 55 fps average, p5 30 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 4.7 KB · Runtime 2.8 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 timer"></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; }
.timer {
border-radius: 50%;
border-top: solid 6px #03a9f4;
border-bottom: solid 6px #03a9f4;
border-left: solid 6px #03a9f4;
border-right: solid 6px #03a9f4;
display: inline-block;
box-sizing: border-box;
-webkit-animation: timer 1.5s linear infinite;
animation: timer 1.5s linear infinite; }
.timer:before {
border-radius: 3px;
content: " ";
width: 6px;
height: 12px;
display: inline-block;
box-sizing: border-box;
background-color: #42A5F5;
position: absolute;
top: 5px;
left: 16px;
-webkit-transform-origin: center bottom;
-ms-transform-origin: center bottom;
transform-origin: center bottom;
-webkit-animation: timer-before 1s ease infinite;
animation: timer-before 1s ease infinite; }
@keyframes timer {
0%, 100% {
border-top: solid 6px #03a9f4;
border-bottom: solid 6px #03a9f4;
border-left: solid 6px #03a9f4;
border-right: solid 6px #03a9f4; }
25% {
border-top: solid 6px #8bc34a;
border-bottom: solid 6px #8bc34a;
border-left: solid 6px #8bc34a;
border-right: solid 6px #8bc34a; }
50% {
border-top: solid 6px #ffeb3b;
border-bottom: solid 6px #ffeb3b;
border-left: solid 6px #ffeb3b;
border-right: solid 6px #ffeb3b; }
75% {
border-top: solid 6px #f44336;
border-bottom: solid 6px #f44336;
border-left: solid 6px #f44336;
border-right: solid 6px #f44336; } }
@keyframes timer-before {
0% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
100% {
-webkit-transform: rotate(315deg);
transform: rotate(315deg); } }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 blue 45px ring holds a clock hand that sweeps round every 1.5s, saying clearly that time is passing.
Countdowns, scheduled tasks and time tracking.
Change the #03a9f4 ring, the #42A5F5 hand, the 6px border and the 1.5s timer.
Build a "Ticking clock timer" component in plain HTML, CSS and JavaScript (no framework). A blue 45px ring holds a clock hand that sweeps round every 1.5s, saying clearly that time is passing. Use it for: Countdowns, scheduled tasks and time tracking. Expose these controls: Change the #03a9f4 ring, the #42A5F5 hand, the 6px border and the 1.5s timer. 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.