{
  "id": "hover-glow-shadow",
  "name": "Colored Hover Shadow",
  "category": "shadows",
  "tags": [
    "glow",
    "hover",
    "card",
    "brand color",
    "transition"
  ],
  "description": "A card whose neutral shadow turns into a soft glow in its accent color on hover or keyboard focus.",
  "url": "https://copy-css.com/snippets/hover-glow-shadow",
  "markdown": "https://copy-css.com/snippets/hover-glow-shadow.md",
  "html": "<a class=\"glow-hover\" href=\"#\">\n  <strong>Analytics</strong>\n  <span>See what is working</span>\n</a>",
  "css": ".glow-hover {\n  --accent: #10b981;\n  display: grid;\n  gap: 4px;\n  width: 190px;\n  padding: 20px;\n  border-radius: 16px;\n  background: #ffffff;\n  color: #0f172a;\n  font: 15px/1.4 system-ui, sans-serif;\n  text-decoration: none;\n  box-shadow:\n    0 0 0 1px #e2e8f0,\n    0 4px 12px -4px #0f172a1f;\n  transition: box-shadow 0.3s ease, transform 0.3s ease;\n}\n\n.glow-hover span {\n  color: #64748b;\n}\n\n.glow-hover:hover,\n.glow-hover:focus-visible {\n  transform: translateY(-3px);\n  box-shadow:\n    0 0 0 1px var(--accent),\n    0 14px 34px -8px var(--accent);\n}\n\n.glow-hover:focus-visible {\n  outline: 2px solid #0f172a;\n  outline-offset: 4px;\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .glow-hover { transition: box-shadow 0.3s ease; }\n\n  .glow-hover:hover,\n  .glow-hover:focus-visible { transform: none; }\n}",
  "features": [
    "transitions",
    "transforms",
    "box shadows",
    "CSS Grid",
    "keyboard focus styles",
    "custom properties",
    "reduced-motion support"
  ],
  "customProperties": [
    {
      "name": "--accent",
      "value": "#10b981"
    }
  ]
}
