{
  "id": "glass-weather-card",
  "name": "Glass Weather Card",
  "category": "cards",
  "tags": [
    "weather",
    "widget",
    "glassmorphism",
    "forecast",
    "frosted",
    "dashboard"
  ],
  "description": "A frosted glass weather widget with a CSS-drawn sun and cloud, the current temperature and a short forecast.",
  "url": "https://copy-css.com/snippets/glass-weather-card",
  "markdown": "https://copy-css.com/snippets/glass-weather-card.md",
  "html": "<article class=\"weather-glass\">\n  <div class=\"weather-glass-now\">\n    <div>\n      <h3>Lisbon</h3>\n      <p>Partly cloudy</p>\n    </div>\n    <span class=\"weather-glass-icon\" aria-hidden=\"true\"></span>\n  </div>\n  <p class=\"weather-glass-temp\">21°</p>\n  <ul>\n    <li>Mon <b>22°</b></li>\n    <li>Tue <b>19°</b></li>\n    <li>Wed <b>24°</b></li>\n  </ul>\n</article>",
  "css": ".weather-glass {\n  width: 220px;\n  padding: 16px 18px;\n  border: 1px solid rgba(255, 255, 255, 0.35);\n  border-radius: 24px;\n  background: linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));\n  -webkit-backdrop-filter: blur(18px);\n  backdrop-filter: blur(18px);\n  color: #fff;\n  font-family: system-ui, sans-serif;\n}\n\n.weather-glass-now {\n  display: flex;\n  justify-content: space-between;\n  align-items: flex-start;\n}\n\n.weather-glass h3 {\n  margin: 0;\n  font-size: 16px;\n}\n\n.weather-glass-now p {\n  margin: 2px 0 0;\n  font-size: 12px;\n  opacity: 0.85;\n}\n\n.weather-glass-icon {\n  position: relative;\n  width: 34px;\n  height: 34px;\n  margin: 4px 14px 0 0;\n  border-radius: 50%;\n  background: radial-gradient(circle at 40% 40%, #fef08a, #f59e0b);\n  box-shadow: 0 0 20px rgba(253, 224, 71, 0.7);\n}\n\n.weather-glass-icon::after {\n  content: \"\";\n  position: absolute;\n  top: 18px;\n  left: 12px;\n  width: 34px;\n  height: 14px;\n  border-radius: 999px;\n  background: #fff;\n  box-shadow: 8px -7px 0 2px #fff;\n}\n\n.weather-glass-temp {\n  margin: 2px 0 10px;\n  font-size: 48px;\n  font-weight: 300;\n  line-height: 1;\n}\n\n.weather-glass ul {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 6px;\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n\n.weather-glass li {\n  display: grid;\n  gap: 2px;\n  padding: 6px;\n  border-radius: 10px;\n  background: rgba(255, 255, 255, 0.15);\n  font-size: 11px;\n  text-align: center;\n}\n\n.weather-glass b {\n  font-size: 14px;\n}",
  "features": [
    "linear gradients",
    "radial gradients",
    "box shadows",
    "backdrop filters",
    "CSS Grid",
    "Flexbox"
  ],
  "customProperties": []
}
