{
  "id": "social-post-card",
  "name": "Social Post Card",
  "category": "cards",
  "tags": [
    "tweet",
    "social media",
    "post",
    "embed",
    "testimonial",
    "wall of love"
  ],
  "description": "A social media post embed with avatar, name, handle, post text, timestamp and like count for testimonial walls.",
  "url": "https://copy-css.com/snippets/social-post-card",
  "markdown": "https://copy-css.com/snippets/social-post-card.md",
  "html": "<article class=\"post-embed\">\n  <header>\n    <span class=\"post-embed-avatar\" aria-hidden=\"true\">DV</span>\n    <p><strong>Dana Vu</strong><span>@danavu</span></p>\n  </header>\n  <p>Shipped our new pricing page with zero JavaScript. CSS :has() is doing all the heavy lifting.</p>\n  <footer>\n    <time datetime=\"2026-11-03T14:14\">2:14 PM · Nov 3, 2026</time>\n    <span><span aria-hidden=\"true\">♥</span> 248 likes</span>\n  </footer>\n</article>",
  "css": ".post-embed {\n  width: 270px;\n  padding: 14px 16px;\n  border: 1px solid #e0f2fe;\n  border-radius: 16px;\n  background: #fff;\n  color: #0f172a;\n  font-family: system-ui, sans-serif;\n}\n\n.post-embed header {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n}\n\n.post-embed-avatar {\n  display: grid;\n  place-items: center;\n  width: 38px;\n  height: 38px;\n  border-radius: 50%;\n  background: linear-gradient(135deg, #38bdf8, #0369a1);\n  color: #fff;\n  font-size: 13px;\n  font-weight: 700;\n}\n\n.post-embed header p {\n  display: grid;\n  margin: 0;\n  font-size: 14px;\n  line-height: 1.25;\n}\n\n.post-embed header p span {\n  color: #64748b;\n  font-size: 13px;\n}\n\n.post-embed > p {\n  margin: 10px 0;\n  font-size: 14px;\n  line-height: 1.5;\n}\n\n.post-embed footer {\n  display: flex;\n  justify-content: space-between;\n  padding-top: 8px;\n  border-top: 1px solid #f1f5f9;\n  color: #64748b;\n  font-size: 12px;\n}\n\n.post-embed footer span span {\n  color: #e11d48;\n}",
  "features": [
    "linear gradients",
    "CSS Grid",
    "Flexbox"
  ],
  "customProperties": []
}
