{
  "id": "glossy-button",
  "name": "Glossy Button",
  "category": "buttons",
  "tags": [
    "aqua",
    "gel",
    "web 2.0",
    "shiny",
    "skeuomorphic"
  ],
  "description": "A shiny gel pill button with a glass highlight on top, inspired by early-2000s interfaces.",
  "url": "https://copy-css.com/snippets/glossy-button",
  "markdown": "https://copy-css.com/snippets/glossy-button.md",
  "html": "<button class=\"btn-glossy\">Download</button>",
  "css": ".btn-glossy {\n  position: relative;\n  padding: 15px 40px;\n  border: 1px solid #1e40af;\n  border-radius: 999px;\n  background: linear-gradient(#3b82f6, #1d4ed8 60%, #1e40af);\n  color: #fff;\n  font: 700 16px/1 system-ui, sans-serif;\n  text-shadow: 0 -1px 0 #1e3a8a;\n  box-shadow:\n    inset 0 -3px 6px #60a5fa,\n    0 6px 12px -4px #1e40af;\n  cursor: pointer;\n  transition: filter 0.2s ease;\n}\n\n/* The glass highlight */\n.btn-glossy::before {\n  content: \"\";\n  position: absolute;\n  top: 2px;\n  left: 10%;\n  right: 10%;\n  height: 42%;\n  border-radius: 999px;\n  background: linear-gradient(#ffffffb3, #ffffff14);\n  pointer-events: none;\n}\n\n.btn-glossy:hover {\n  filter: brightness(1.1) saturate(1.1);\n}\n\n.btn-glossy:active {\n  box-shadow:\n    inset 0 2px 6px #1e3a8a,\n    0 2px 6px -2px #1e40af;\n}\n\n.btn-glossy:focus-visible {\n  outline: 3px solid #1d4ed8;\n  outline-offset: 3px;\n}",
  "features": [
    "transitions",
    "linear gradients",
    "box shadows",
    "text shadows",
    "filters",
    "keyboard focus styles"
  ],
  "customProperties": []
}
