CSS-Zone

Clock loader

Two clock hands spinning independently. Practical example for loaders and state indicators with live preview, HTML structure, and production-ready CSS you can integrate quickly.

Preview

HTML + CSS

<div class="clock-loader">
  <span class="clock-loader__hand clock-loader__hand_hour"></span>
  <span class="clock-loader__hand clock-loader__hand_minute"></span>
</div>

<style>
.clock-loader{
  position:relative; width:90px; height:90px; border-radius:50%;
  border:3px solid rgba(91,141,239,0.35);
  box-shadow: inset 0 0 0 1px rgba(91,141,239,0.2), 0 10px 24px rgba(91,141,239,0.18);
  display:grid; place-items:center;
}
.clock-loader__hand{
  position:absolute; width:3px; border-radius:999px;
  background: linear-gradient(180deg,#5b8def,#9a6bff);
  transform-origin: bottom center; bottom:50%; left:50%;
}
.clock-loader__hand_hour{height:28px; animation: clock-hour 6s linear infinite;}
.clock-loader__hand_minute{height:38px; animation: clock-minute 2s linear infinite;}
@keyframes clock-hour{to{transform:rotate(360deg);}}
@keyframes clock-minute{to{transform:rotate(720deg);}}
</style>

What the Clock loader pattern demonstrates

Clock loader is a reusable CSS animation pattern that can be integrated into modern UI without external dependencies. The example includes HTML structure and motion styles that are easy to scale for production components.

When this animation pattern is a good fit

Use this effect for state indication, visual focus, or lightweight micro-interactions that support content clarity. Motion should reinforce hierarchy, so keep speed, contrast, and density aligned with your interface goals.

How to implement it in production safely

Copy the snippet, adapt spacing and timing to your system tokens, and test behavior on mobile and low-power devices. Add reduced-motion support to keep the component accessible while preserving the same functional meaning.