{
  "id": "recipe-card",
  "name": "Recipe Card",
  "category": "cards",
  "tags": [
    "recipe",
    "food",
    "cooking",
    "meta icons",
    "blog",
    "plate"
  ],
  "description": "A food blog recipe card with a round dish image breaking out of the top and time, servings and level.",
  "url": "https://copy-css.com/snippets/recipe-card",
  "markdown": "https://copy-css.com/snippets/recipe-card.md",
  "html": "<article class=\"recipe-card\">\n  <img src=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='19' fill='%23fafaf9'/%3E%3Ccircle cx='20' cy='20' r='13' fill='%23fcd34d'/%3E%3Cpath d='M11 18c4-3 6 3 10 0s6 3 9 0M11 23c4-3 6 3 10 0s6 3 9 0' fill='none' stroke='%23f59e0b' stroke-width='1.5'/%3E%3Ccircle cx='16' cy='15' r='1.5' fill='%2365a30d'/%3E%3Ccircle cx='25' cy='26' r='1.5' fill='%2365a30d'/%3E%3Ccircle cx='23' cy='14' r='1.2' fill='%23dc2626'/%3E%3C/svg%3E\" alt=\"Lemon herb pasta on a white plate\" width=\"96\" height=\"96\">\n  <h3><a href=\"#\">Lemon Herb Pasta</a></h3>\n  <ul class=\"recipe-card-meta\">\n    <li><b>25</b> min</li>\n    <li><b>2</b> servings</li>\n    <li><b>Easy</b> level</li>\n  </ul>\n</article>",
  "css": ".recipe-card {\n  width: 220px;\n  margin-top: 48px;\n  padding: 0 16px 16px;\n  border-radius: 20px;\n  background: #fff;\n  box-shadow: 0 12px 28px -14px rgba(146, 64, 14, 0.4);\n  color: #451a03;\n  font-family: system-ui, sans-serif;\n  text-align: center;\n}\n\n.recipe-card img {\n  display: block;\n  width: 96px;\n  height: 96px;\n  margin: -48px auto 0;\n  border-radius: 50%;\n  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.3);\n  transition: transform 0.6s ease;\n}\n\n.recipe-card:hover img {\n  transform: rotate(40deg);\n}\n\n.recipe-card h3 {\n  margin: 10px 0 12px;\n  font-size: 16px;\n}\n\n.recipe-card h3 a {\n  color: inherit;\n  text-decoration: none;\n}\n\n.recipe-card h3 a:focus-visible {\n  outline: 2px solid #d97706;\n  outline-offset: 2px;\n}\n\n.recipe-card-meta {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  margin: 0;\n  padding: 10px 0 0;\n  border-top: 1px solid #fef3c7;\n  list-style: none;\n  color: #92400e;\n  font-size: 11px;\n}\n\n.recipe-card-meta b {\n  display: block;\n  color: #451a03;\n  font-size: 14px;\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .recipe-card img {\n    transition: none;\n  }\n}",
  "features": [
    "transitions",
    "transforms",
    "box shadows",
    "CSS Grid",
    "keyboard focus styles",
    "reduced-motion support"
  ],
  "customProperties": []
}
