{
  "format": "putcode/playground@1",
  "id": "00000000-0000-4000-9000-000000000008",
  "url": "https://putcode.dev/u/putcode/s/6v8h9s3ivz",
  "title": "Logo marquee",
  "description": "A row of customer logos that scrolls forever, fades out at both edges and pauses on hover.",
  "category": "animations",
  "tags": [
    "marquee",
    "mask-image",
    "keyframes"
  ],
  "visibility": "public",
  "status": "published",
  "revision": 1,
  "author": "putcode",
  "forked_from": null,
  "created_at": "2026-12-02T02:24:56.169Z",
  "updated_at": "2026-12-02T02:24:56.169Z",
  "published_at": "2026-12-02T02:24:56.169Z",
  "source": {
    "html": "<section class=\"logos\">\n  <p class=\"logos__title\">Trusted by teams at</p>\n  <div class=\"marquee\">\n    <ul class=\"marquee__track\">\n      <li style=\"font-family: Georgia, serif; font-style: italic\">Northwind</li>\n      <li style=\"letter-spacing: 0.2em; font-weight: 800\">ACME</li>\n      <li style=\"font-family: ui-monospace, monospace\">orbit.io</li>\n      <li style=\"font-weight: 300\">Halcyon</li>\n      <li style=\"font-family: Georgia, serif; font-weight: 700\">Pinecrest</li>\n      <li style=\"text-transform: lowercase; font-weight: 800\">Voltage</li>\n      <li style=\"letter-spacing: -0.04em; font-weight: 700\">Meridian</li>\n    </ul>\n    <ul class=\"marquee__track\" aria-hidden=\"true\">\n      <li style=\"font-family: Georgia, serif; font-style: italic\">Northwind</li>\n      <li style=\"letter-spacing: 0.2em; font-weight: 800\">ACME</li>\n      <li style=\"font-family: ui-monospace, monospace\">orbit.io</li>\n      <li style=\"font-weight: 300\">Halcyon</li>\n      <li style=\"font-family: Georgia, serif; font-weight: 700\">Pinecrest</li>\n      <li style=\"text-transform: lowercase; font-weight: 800\">Voltage</li>\n      <li style=\"letter-spacing: -0.04em; font-weight: 700\">Meridian</li>\n    </ul>\n  </div>\n</section>",
    "css": "body {\n  margin: 0;\n  min-height: 100vh;\n  display: grid;\n  place-items: center;\n  background: #fafaf8;\n  color: #6f727b;\n  font: 15px/1.4 system-ui, sans-serif;\n}\n\n.logos {\n  /* A viewport-based width, so the long tracks can't stretch the page grid. */\n  width: min(760px, 100vw - 32px);\n}\n\n.logos__title {\n  margin: 0 0 18px;\n  font-size: 0.85rem;\n  text-align: center;\n}\n\n.marquee {\n  --gap: 56px;\n\n  display: flex;\n  gap: var(--gap);\n  overflow: hidden;\n  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);\n}\n\n.marquee__track {\n  display: flex;\n  flex: none;\n  gap: var(--gap);\n  margin: 0;\n  padding: 0;\n  list-style: none;\n  animation: scroll 24s linear infinite;\n}\n\n.marquee__track li {\n  color: #3c3f47;\n  font-size: 1.5rem;\n  white-space: nowrap;\n}\n\n.marquee:hover .marquee__track {\n  animation-play-state: paused;\n}\n\n@keyframes scroll {\n  to {\n    transform: translateX(calc(-100% - var(--gap)));\n  }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .marquee {\n    mask-image: none;\n  }\n\n  .marquee__track {\n    flex-wrap: wrap;\n    justify-content: center;\n    animation: none;\n  }\n\n  .marquee__track[aria-hidden=\"true\"] {\n    display: none;\n  }\n}",
    "js": ""
  }
}