{
  "id": "fill-on-hover-text",
  "name": "Fill on Hover Text",
  "category": "text",
  "tags": [
    "outline",
    "hover",
    "fill",
    "background-clip",
    "link"
  ],
  "description": "Outlined text that fills with solid color from left to right on hover.",
  "url": "https://copy-css.com/snippets/fill-on-hover-text",
  "markdown": "https://copy-css.com/snippets/fill-on-hover-text.md",
  "html": "<a class=\"text-fill\" href=\"#\">Portfolio</a>",
  "css": ".text-fill {\n  color: transparent;\n  font: 900 52px/1.1 system-ui, sans-serif;\n  text-decoration: none;\n  -webkit-text-stroke: 1.5px #fafafa;\n  background: linear-gradient(#a3e635, #a3e635) left / 0% 100% no-repeat;\n  -webkit-background-clip: text;\n  background-clip: text;\n  transition: background-size 0.45s ease;\n}\n\n.text-fill:hover,\n.text-fill:focus-visible {\n  background-size: 100% 100%;\n}",
  "features": [
    "transitions",
    "linear gradients",
    "gradient-clipped text",
    "keyboard focus styles"
  ],
  "customProperties": []
}
