# Clock Loader

> A tiny clock face whose hands spin while you wait.

- Category: [CSS Loaders & Spinners](https://copy-css.com/category/loaders)
- Tags: clock, hands, rotate, waiting, time
- Live preview: https://copy-css.com/snippets/clock-loader
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="clock-loader" role="status" aria-label="Loading"></div>
```

## CSS

```css
.clock-loader {
  position: relative;
  width: 44px;
  height: 44px;
  border: 4px solid #ea580c;
  border-radius: 50%;
}

.clock-loader::before,
.clock-loader::after {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  bottom: 50%;
  width: 4px;
  border-radius: 2px;
  background: #ea580c;
  transform-origin: 50% 100%;
  animation: clock-spin linear infinite;
}

/* Minute hand */
.clock-loader::before {
  height: 15px;
  animation-duration: 1s;
}

/* Hour hand */
.clock-loader::after {
  height: 10px;
  animation-duration: 12s;
}

@keyframes clock-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .clock-loader::before {
    animation-duration: 4s;
  }
}
```

## Notes

- This CSS Clock Loader is 42 lines of pure CSS (0.7 KB) with no JavaScript and no dependencies. It uses keyframe animations, transforms and reduced-motion support.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
