{
  "format": "css.observer/playground@1",
  "id": "00000000-0000-4000-9000-000000000012",
  "url": "https://css.observer/s/variable-weight-wave",
  "title": "Variable weight wave",
  "description": "Letters cycle through a variable font's weight range one after another, like a wave.",
  "category": "typography",
  "tags": [
    "variable-font",
    "animation",
    "text"
  ],
  "visibility": "public",
  "status": "published",
  "revision": 1,
  "author": "observer",
  "forked_from": null,
  "created_at": "2026-12-02T08:10:01.946Z",
  "updated_at": "2026-12-02T08:10:01.946Z",
  "published_at": "2026-12-02T08:10:01.946Z",
  "source": {
    "html": "<h1 class=\"wave\" aria-label=\"variable\">\n  <span style=\"--i: 0\" aria-hidden=\"true\">v</span><span style=\"--i: 1\" aria-hidden=\"true\">a</span><span style=\"--i: 2\" aria-hidden=\"true\">r</span><span style=\"--i: 3\" aria-hidden=\"true\">i</span><span style=\"--i: 4\" aria-hidden=\"true\">a</span><span style=\"--i: 5\" aria-hidden=\"true\">b</span><span style=\"--i: 6\" aria-hidden=\"true\">l</span><span style=\"--i: 7\" aria-hidden=\"true\">e</span>\n</h1>",
    "css": "@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap\");\n\nbody {\n  margin: 0;\n  min-height: 100vh;\n  display: grid;\n  place-items: center;\n  background: #0b0c0e;\n  color: #ecebe6;\n}\n\n.wave {\n  margin: 0;\n  font: 100 clamp(3rem, 12vw, 8rem) / 1 Inter, system-ui, sans-serif;\n  letter-spacing: -0.04em;\n}\n\n.wave span {\n  display: inline-block;\n  animation: weight 2.4s ease-in-out infinite;\n  animation-delay: calc(var(--i) * 0.12s);\n}\n\n@keyframes weight {\n  50% {\n    font-weight: 900;\n  }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .wave span {\n    animation: none;\n    font-weight: 600;\n  }\n}",
    "js": ""
  }
}