{
  "id": "notification-card",
  "name": "Notification Card",
  "category": "cards",
  "tags": [
    "notification",
    "toast",
    "alert",
    "success",
    "message"
  ],
  "description": "A success notification with an accent border, icon and dismiss button.",
  "url": "https://copy-css.com/snippets/notification-card",
  "markdown": "https://copy-css.com/snippets/notification-card.md",
  "html": "<div class=\"notice\" role=\"status\">\n  <span class=\"notice-icon\">✓</span>\n  <div>\n    <strong>Changes saved</strong>\n    <p>Your profile has been updated.</p>\n  </div>\n  <button class=\"notice-close\" aria-label=\"Dismiss\">×</button>\n</div>",
  "css": ".notice {\n  display: flex;\n  align-items: flex-start;\n  gap: 12px;\n  width: 260px;\n  padding: 14px;\n  border-left: 4px solid #22c55e;\n  border-radius: 12px;\n  background: #fff;\n  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);\n  font-family: system-ui, sans-serif;\n}\n\n.notice-icon {\n  display: grid;\n  flex: none;\n  place-items: center;\n  width: 24px;\n  height: 24px;\n  border-radius: 50%;\n  background: #dcfce7;\n  color: #16a34a;\n  font-size: 13px;\n  font-weight: 800;\n}\n\n.notice strong {\n  display: block;\n  color: #111;\n  font-size: 14px;\n}\n\n.notice p {\n  margin: 2px 0 0;\n  color: #6b7280;\n  font-size: 13px;\n  line-height: 1.4;\n}\n\n.notice-close {\n  margin-left: auto;\n  padding: 0 4px;\n  border: 0;\n  background: none;\n  color: #9ca3af;\n  font-size: 20px;\n  line-height: 1;\n  cursor: pointer;\n}\n\n.notice-close:hover {\n  color: #111;\n}",
  "features": [
    "box shadows",
    "CSS Grid",
    "Flexbox"
  ],
  "customProperties": []
}
