{
  "id": "rgb-split-text",
  "name": "RGB Split Text",
  "category": "text",
  "tags": [
    "glitch",
    "chromatic aberration",
    "text-shadow",
    "cyberpunk",
    "anaglyph"
  ],
  "description": "Chromatic aberration text with red and cyan channels pulled apart and an occasional jitter.",
  "url": "https://copy-css.com/snippets/rgb-split-text",
  "markdown": "https://copy-css.com/snippets/rgb-split-text.md",
  "html": "<h2 class=\"text-rgb\">SIGNAL</h2>",
  "css": ".text-rgb {\n  --shift: 3px;\n  margin: 0;\n  color: #fafafa;\n  font: 900 44px/1 system-ui, sans-serif;\n  letter-spacing: 0.06em;\n  text-shadow:\n    calc(var(--shift) * -1) 0 #ff004c,\n    var(--shift) 0 #00e5ff;\n  animation: text-rgb-jitter 3s steps(1) infinite;\n}\n\n@keyframes text-rgb-jitter {\n  0%, 100% { transform: none; }\n  90% { transform: translateX(-2px) skewX(6deg); }\n  93% { transform: translateX(3px); }\n  96% { transform: translateX(-1px) skewX(-4deg); }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .text-rgb { animation: none; }\n}",
  "features": [
    "keyframe animations",
    "transforms",
    "text shadows",
    "custom properties",
    "reduced-motion support"
  ],
  "customProperties": [
    {
      "name": "--shift",
      "value": "3px"
    }
  ]
}
