{
  "id": "gradient-outline-text",
  "name": "Gradient Outline Text",
  "category": "text",
  "tags": [
    "stroke",
    "hollow",
    "text-stroke",
    "background-clip",
    "heading"
  ],
  "description": "Hollow headline text with a gradient outline, made from a transparent stroke over a clipped gradient.",
  "url": "https://copy-css.com/snippets/gradient-outline-text",
  "markdown": "https://copy-css.com/snippets/gradient-outline-text.md",
  "html": "<h2 class=\"text-grad-stroke\">HOLLOW</h2>",
  "css": "/* --fill must match the background behind the text */\n.text-grad-stroke {\n  --fill: #ffffff;\n  margin: 0;\n  font: 900 48px/1 system-ui, sans-serif;\n  letter-spacing: 0.03em;\n  background: linear-gradient(90deg, #f97316, #db2777, #7c3aed);\n  -webkit-background-clip: text;\n  background-clip: text;\n  -webkit-text-fill-color: var(--fill);\n  -webkit-text-stroke: 4px transparent;\n}",
  "features": [
    "linear gradients",
    "gradient-clipped text",
    "custom properties"
  ],
  "customProperties": [
    {
      "name": "--fill",
      "value": "#ffffff"
    }
  ]
}
