{
  "id": "two-tone-text",
  "name": "Two-Tone Text",
  "category": "text",
  "tags": [
    "split",
    "hard stop",
    "two color",
    "background-clip",
    "headline"
  ],
  "description": "Headline text split into two flat colors at a hard gradient stop, like a horizon line.",
  "url": "https://copy-css.com/snippets/two-tone-text",
  "markdown": "https://copy-css.com/snippets/two-tone-text.md",
  "html": "<h2 class=\"text-two-tone\">Horizon</h2>",
  "css": ".text-two-tone {\n  --top: #0284c7;\n  --bottom: #0f172a;\n  --split: 55%;\n  margin: 0;\n  font: 900 52px/1 system-ui, sans-serif;\n  background: linear-gradient(var(--top) var(--split), var(--bottom) var(--split));\n  -webkit-background-clip: text;\n  background-clip: text;\n  color: transparent;\n}",
  "features": [
    "linear gradients",
    "gradient-clipped text",
    "custom properties"
  ],
  "customProperties": [
    {
      "name": "--top",
      "value": "#0284c7"
    },
    {
      "name": "--bottom",
      "value": "#0f172a"
    },
    {
      "name": "--split",
      "value": "55%"
    }
  ]
}
