{
  "id": "striped-shadow-text",
  "name": "Striped Shadow Text",
  "category": "text",
  "tags": [
    "stripes",
    "hatched",
    "retro",
    "offset",
    "poster"
  ],
  "description": "Bold text with an offset shadow made of diagonal stripes, a retro screen-print effect.",
  "url": "https://copy-css.com/snippets/striped-shadow-text",
  "markdown": "https://copy-css.com/snippets/striped-shadow-text.md",
  "html": "<h2 class=\"text-hatch\" data-text=\"Poster\">Poster</h2>",
  "css": "/* data-text must match the heading text */\n.text-hatch {\n  position: relative;\n  isolation: isolate;\n  margin: 0;\n  color: #f43f5e;\n  font: 900 54px/1 system-ui, sans-serif;\n}\n\n.text-hatch::after {\n  content: attr(data-text);\n  content: attr(data-text) / \"\";\n  position: absolute;\n  top: 0.09em;\n  left: 0.09em;\n  z-index: -1;\n  background: repeating-linear-gradient(45deg, #1e293b 0 2px, #1e293b00 2px 6px);\n  -webkit-background-clip: text;\n  background-clip: text;\n  color: transparent;\n}",
  "features": [
    "linear gradients",
    "gradient-clipped text"
  ],
  "customProperties": []
}
