{
  "id": "vhs-text",
  "name": "VHS Text",
  "category": "text",
  "tags": [
    "retro",
    "scanlines",
    "glitch",
    "tape",
    "80s"
  ],
  "description": "Retro VHS screen text with scanlines, a soft color bleed and a bright tracking band rolling down.",
  "url": "https://copy-css.com/snippets/vhs-text",
  "markdown": "https://copy-css.com/snippets/vhs-text.md",
  "html": "<p class=\"text-vhs\">PLAY <span aria-hidden=\"true\">▶</span></p>",
  "css": ".text-vhs {\n  position: relative;\n  margin: 0;\n  padding: 8px 14px;\n  overflow: hidden;\n  color: #f8fafc;\n  font: 700 40px/1 ui-monospace, Menlo, monospace;\n  letter-spacing: 0.1em;\n  text-shadow:\n    2px 0 #ff2d5599,\n    -2px 0 #22d3ee99,\n    0 0 10px #ffffff66;\n  animation: text-vhs-jitter 4s steps(1) infinite;\n}\n\n/* Scanlines plus a bright band that rolls down */\n.text-vhs::after {\n  content: \"\";\n  position: absolute;\n  inset: 0;\n  background:\n    linear-gradient(#ffffff00 42%, #ffffff2e 50%, #ffffff00 58%) 0 0 / 100% 300% no-repeat,\n    repeating-linear-gradient(#00000000 0 2px, #00000059 2px 4px);\n  animation: text-vhs-roll 3s linear infinite;\n  pointer-events: none;\n}\n\n@keyframes text-vhs-jitter {\n  0%, 100% { transform: none; }\n  50% { transform: translateX(2px); }\n  52% { transform: translateX(-3px) skewX(-6deg); }\n  54% { transform: none; }\n}\n\n@keyframes text-vhs-roll {\n  from { background-position: 0 100%, 0 0; }\n  to { background-position: 0 0, 0 0; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .text-vhs,\n  .text-vhs::after { animation: none; }\n}",
  "features": [
    "keyframe animations",
    "transforms",
    "linear gradients",
    "text shadows",
    "reduced-motion support"
  ],
  "customProperties": []
}
