{
  "format": "css.observer/playground@1",
  "id": "00000000-0000-4000-9000-000000000005",
  "url": "https://css.observer/s/orbit-loader",
  "title": "Orbit loader",
  "description": "Three dots circling at different speeds, with a screen-reader label and a slower version under reduced motion.",
  "category": "loaders",
  "tags": [
    "spinner",
    "keyframes",
    "reduced-motion"
  ],
  "visibility": "public",
  "status": "published",
  "revision": 1,
  "author": "observer",
  "forked_from": null,
  "created_at": "2026-12-02T01:10:01.946Z",
  "updated_at": "2026-12-02T01:10:01.946Z",
  "published_at": "2026-12-02T01:10:01.946Z",
  "source": {
    "html": "<div class=\"orbit\" role=\"status\">\n  <span></span><span></span><span></span>\n  <span class=\"visually-hidden\">Loading</span>\n</div>",
    "css": "body {\n  margin: 0;\n  min-height: 100vh;\n  display: grid;\n  place-items: center;\n  background: #0b0c0e;\n}\n\n.orbit {\n  --size: 72px;\n\n  position: relative;\n  width: var(--size);\n  aspect-ratio: 1;\n}\n\n.orbit span:not(.visually-hidden) {\n  position: absolute;\n  inset: 0;\n  animation: orbit 1.2s linear infinite;\n}\n\n.orbit span:not(.visually-hidden)::before {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  left: 50%;\n  width: 12px;\n  height: 12px;\n  margin-left: -6px;\n  border-radius: 50%;\n  background: #f5f5f5;\n}\n\n.orbit span:nth-child(2) {\n  inset: 14px;\n  animation-duration: 0.9s;\n}\n\n.orbit span:nth-child(2)::before {\n  background: #a3a3a3;\n}\n\n.orbit span:nth-child(3) {\n  inset: 26px;\n  animation-duration: 0.6s;\n}\n\n.orbit span:nth-child(3)::before {\n  background: #5c5c5c;\n}\n\n@keyframes orbit {\n  to {\n    transform: rotate(360deg);\n  }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .orbit span {\n    animation-duration: 6s !important;\n  }\n}\n\n.visually-hidden {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  overflow: hidden;\n  clip-path: inset(50%);\n  white-space: nowrap;\n}",
    "js": ""
  }
}