{
  "id": "shine-button",
  "name": "Shine Sweep Button",
  "category": "buttons",
  "tags": [
    "shine",
    "shimmer",
    "dark",
    "animation"
  ],
  "description": "A dark button with a light streak that sweeps across it on a loop.",
  "url": "https://copy-css.com/snippets/shine-button",
  "markdown": "https://copy-css.com/snippets/shine-button.md",
  "html": "<button class=\"btn-shine\">Upgrade now</button>",
  "css": ".btn-shine {\n  position: relative;\n  overflow: hidden;\n  padding: 14px 32px;\n  border: 0;\n  border-radius: 10px;\n  background: #111827;\n  color: #fff;\n  font: 600 16px/1 system-ui, sans-serif;\n  cursor: pointer;\n}\n\n.btn-shine::after {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  left: -75%;\n  width: 50%;\n  height: 100%;\n  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);\n  transform: skewX(-20deg);\n  animation: shine 2.8s ease-in-out infinite;\n}\n\n@keyframes shine {\n  60%, 100% { left: 125%; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .btn-shine::after {\n    animation: none;\n  }\n}",
  "features": [
    "keyframe animations",
    "transforms",
    "linear gradients",
    "reduced-motion support"
  ],
  "customProperties": []
}
