{
  "id": "corner-fill-card",
  "name": "Corner Fill Card",
  "category": "cards",
  "tags": [
    "hover",
    "fill",
    "circle",
    "scale",
    "link card",
    "color change"
  ],
  "description": "A link card where a small corner circle grows to flood the card with color and invert the text on hover.",
  "url": "https://copy-css.com/snippets/corner-fill-card",
  "markdown": "https://copy-css.com/snippets/corner-fill-card.md",
  "html": "<a class=\"fill-card\" href=\"#\">\n  <span class=\"fill-card-arrow\" aria-hidden=\"true\">→</span>\n  <h3>Get started</h3>\n  <p>Set up your first project in under five minutes.</p>\n</a>",
  "css": ".fill-card {\n  position: relative;\n  display: block;\n  width: 220px;\n  padding: 22px;\n  overflow: hidden;\n  border-radius: 16px;\n  background: #fff;\n  color: #431407;\n  font-family: system-ui, sans-serif;\n  text-decoration: none;\n  isolation: isolate;\n  transition: color 0.4s ease;\n}\n\n.fill-card::before {\n  content: \"\";\n  position: absolute;\n  top: -30px;\n  right: -30px;\n  z-index: -1;\n  width: 80px;\n  height: 80px;\n  border-radius: 50%;\n  background: #ea580c;\n  transition: transform 0.5s ease;\n}\n\n.fill-card:hover,\n.fill-card:focus-visible {\n  color: #fff;\n}\n\n.fill-card:hover::before,\n.fill-card:focus-visible::before {\n  transform: scale(8);\n}\n\n.fill-card:focus-visible {\n  outline: 3px solid #9a3412;\n  outline-offset: 3px;\n}\n\n.fill-card-arrow {\n  position: absolute;\n  top: 10px;\n  right: 14px;\n  color: #fff;\n  font-size: 18px;\n  font-weight: 700;\n}\n\n.fill-card h3 {\n  margin: 0 0 6px;\n  font-size: 18px;\n}\n\n.fill-card p {\n  margin: 0;\n  font-size: 14px;\n  line-height: 1.5;\n  opacity: 0.85;\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fill-card,\n  .fill-card::before {\n    transition: none;\n  }\n}",
  "features": [
    "transitions",
    "transforms",
    "keyboard focus styles",
    "reduced-motion support"
  ],
  "customProperties": []
}
