{
  "id": "jelly-button",
  "name": "Jelly Button",
  "category": "buttons",
  "tags": [
    "squish",
    "elastic",
    "bounce",
    "playful",
    "hover"
  ],
  "description": "A playful button that squashes and stretches like jelly when hovered or focused.",
  "url": "https://copy-css.com/snippets/jelly-button",
  "markdown": "https://copy-css.com/snippets/jelly-button.md",
  "html": "<button class=\"btn-jelly\">Boing!</button>",
  "css": ".btn-jelly {\n  padding: 14px 34px;\n  border: 0;\n  border-radius: 16px;\n  background: #e11d48;\n  color: #fff;\n  font: 700 16px/1 system-ui, sans-serif;\n  cursor: pointer;\n}\n\n.btn-jelly:hover,\n.btn-jelly:focus-visible {\n  animation: btn-jelly-squish 0.6s ease;\n}\n\n.btn-jelly:focus-visible {\n  outline: 3px solid #e11d48;\n  outline-offset: 4px;\n}\n\n@keyframes btn-jelly-squish {\n  0%, 100% { transform: scale(1, 1); }\n  25% { transform: scale(1.15, 0.85); }\n  50% { transform: scale(0.9, 1.1); }\n  75% { transform: scale(1.05, 0.95); }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .btn-jelly:hover,\n  .btn-jelly:focus-visible { animation: none; }\n}",
  "features": [
    "keyframe animations",
    "transforms",
    "keyboard focus styles",
    "reduced-motion support"
  ],
  "customProperties": []
}
