Four weather cards — CSS only, built by Inkling 2 Mini
Hostedvia OpenCodeOpenRouter
140tok/s
First token included
94.6Ktokens
11m 16s
$0.12
Show the code the model wroteHide the code
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Weather — Four Pure-CSS Cards</title>
<style>
:root {
--radius: 26px;
--ink: #17202e;
--ink-soft: rgba(23, 32, 46, .62);
--page: #e8ecf3;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
min-height: 100vh;
font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
color: var(--ink);
background:
radial-gradient(1100px 520px at 12% -12%, #ffffff 0%, transparent 58%),
radial-gradient(900px 640px at 108% 6%, #d9e3ff 0%, transparent 55%),
var(--page);
-webkit-font-smoothing: antialiased;
display: flex;
flex-direction: column;
align-items: center;
padding: clamp(22px, 4vw, 46px) clamp(16px, 4vw, 44px) 60px;
}
/* ---------- page chrome ---------- */
header {
width: 100%;
max-width: 1144px;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 16px;
margin-bottom: clamp(18px, 2.6vw, 30px);
padding: 0 4px;
}
.brand h1 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 800; letter-spacing: -0.03em; }
.brand .sub { margin-top: 5px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.badge {
flex: none;
font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
padding: 8px 14px; border-radius: 999px;
background: rgba(255,255,255,.6); border: 1px solid rgba(23,32,46,.08);
color: var(--ink-soft); font-weight: 800;
}
/* ---------- responsive grid ---------- */
.grid {
width: 100%;
max-width: 1144px;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
}
@media (max-width: 1060px) {
.grid { grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; gap: 22px 18px; }
}
@media (max-width: 520px) {
.grid { grid-template-columns: minmax(0, 330px); }
}
/* ---------- card shell ---------- */
.card {
position: relative;
aspect-ratio: 3 / 3.9;
border-radius: var(--radius);
overflow: hidden;
cursor: default;
box-shadow: 0 24px 44px -20px rgba(18,28,48,.45), inset 0 0 0 1px rgba(255,255,255,.32);
animation: card-in .9s cubic-bezier(.2,.7,.2,1) backwards;
animation-delay: var(--in-d, 0s);
transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s;
}
@keyframes card-in {
0% { opacity: 0; transform: translateY(26px) scale(.965); }
100% { opacity: 1; transform: none; }
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 34px 56px -22px rgba(18,28,48,.55), inset 0 0 0 1px rgba(255,255,255,.36);
}
/* ---------- scene base ---------- */
.scene { position: absolute; inset: 0; z-index: 0; }
.scene::before {
content: "";
position: absolute; inset: 0; z-index: 0;
background: radial-gradient(130% 95% at 50% 34%, transparent 52%, rgba(9,16,32,.26) 100%);
pointer-events: none;
}
.sky--sun { background: linear-gradient(176deg, #5bb9ff 0%, #a2ddff 40%, #cdebff 62%, #ffe9ae 96%); }
.sky--rain { background: linear-gradient(180deg, #556377 0%, #404e64 52%, #2e3949 100%); }
.sky--snow { background: linear-gradient(180deg, #84a3c6 0%, #b6c9de 48%, #dfe9f4 84%, #eef4fb 100%); }
.sky--storm { background: linear-gradient(180deg, #2b3350 0%, #1b2338 45%, #121a2c 78%, #0c1322 100%); }
.card--rain .scene::after,
.card--storm .scene::after {
content: "";
position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
background: linear-gradient(180deg, transparent 0%, rgba(13,20,32,.36) 100%);
pointer-events: none;
z-index: 0;
}
/* ---------- SUN ---------- */
.sun-wrap { position: absolute; top: 27%; left: 50%; z-index: 1; }
.glow {
position: absolute; left: -58px; top: -58px; width: 116px; height: 116px; border-radius: 50%;
background: radial-gradient(circle, rgba(255,198,96,.85) 0%, rgba(255,180,74,.34) 44%, transparent 72%);
filter: blur(3px);
animation: glow-pulse 6.4s ease-in-out infinite;
animation-delay: calc(var(--d, 0s));
}
@keyframes glow-pulse {
0%, 100% { transform: scale(.86); opacity: .7; }
50% { transform: scale(1.16); opacity: 1; }
}
.rays {
position: absolute; left: -94px; top: -94px; width: 196px; height: 196px; border-radius: 50%;
background: repeating-conic-gradient(from 0deg, rgba(255,205,96,.8) 0deg 4.5deg, transparent 4.5deg 18.75deg);
-webkit-mask-image: radial-gradient(circle, #000 18%, transparent 60%);
mask-image: radial-gradient(circle, #000 18%, transparent 60%);
animation: spin 26s linear infinite;
animation-delay: calc(var(--d, 0s));
}
@keyframes spin { to { transform: rotate(360deg); } }
.sun-disc {
position: absolute; left: -31px; top: -31px; width: 62px; height: 62px; border-radius: 50%;
background: radial-gradient(circle at 38% 32%, #fff9e0 0%, #ffe07a 36%, #ffb145 68%, #ff8f2d 100%);
animation: sun-pulse 5s ease-in-out infinite;
animation-delay: calc(var(--d, 0s));
}
@keyframes sun-pulse {
0%, 100% { box-shadow: 0 0 22px 9px rgba(255,190,70,.5), 0 0 66px 28px rgba(255,160,50,.2); transform: scale(1); }
50% { box-shadow: 0 0 30px 15px rgba(255,196,80,.7), 0 0 86px 42px rgba(255,166,55,.36); transform: scale(1.05); }
}
.drift-cloud {
position: absolute; top: 15%; left: 50%; margin-left: -43px; width: 86px; height: 23px;
background: linear-gradient(180deg, #ffffff, #eaf2fb);
border-radius: 999px;
box-shadow: 0 10px 22px rgba(28,52,96,.18);
z-index: 2;
animation: drift 15s linear infinite;
animation-delay: calc(var(--d, 0s));
}
.drift-cloud::before {
content: ""; position: absolute; bottom: 7px; left: 11%; width: 45px; height: 45px; border-radius: 50%;
background: linear-gradient(180deg, #ffffff, #eef5fc);
box-shadow: 0 4px 10px rgba(28,52,96,.12);
}
.drift-cloud::after {
content: ""; position: absolute; bottom: 7px; right: 9%; width: 34px; height: 34px; border-radius: 50%;
background: linear-gradient(180deg, #ffffff, #eef5fc);
}
@keyframes drift {
0% { transform: translateX(-260px); }
100% { transform: translateX(260px); }
}
.dim {
position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
background: rgba(31,52,84,.42);
border-radius: inherit;
animation: dim 15s linear infinite;
animation-delay: calc(var(--d, 0s));
}
@keyframes dim {
0%, 26% { opacity: 0; }
38% { opacity: .32; }
52% { opacity: .32; }
64%, 100% { opacity: 0; }
}
/* ---------- RAIN ---------- */
.cloud--rain {
position: absolute; top: 14%; left: 50%; transform: translateX(-50%); z-index: 2;
width: 106px; height: 28px; border-radius: 999px;
background: linear-gradient(180deg, #9aa7b8 0%, #77849b 62%, #67748a 100%);
box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 16px 30px rgba(9,14,24,.35);
animation: bob 6.4s ease-in-out infinite;
animation-delay: calc(var(--d, 0s));
}
.cloud--rain::before {
content: ""; position: absolute; bottom: 11px; left: 14%; width: 52px; height: 52px; border-radius: 50%;
background: linear-gradient(180deg, #9aa7b8 0%, #7a879d 100%);
box-shadow: inset 0 3px 0 rgba(255,255,255,.32);
}
.cloud--rain::after {
content: ""; position: absolute; bottom: 9px; right: 11%; width: 42px; height: 42px; border-radius: 50%;
background: linear-gradient(180deg, #96a2b4 0%, #76839a 100%);
}
@keyframes bob {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(5px); }
}
.drop {
position: absolute; top: 31%; left: var(--x, 50%);
width: var(--w, 3px); height: var(--h, 16px);
border-radius: 3px; opacity: 0; z-index: 1;
background: linear-gradient(180deg, rgba(196,224,255,0) 0%, rgba(205,230,255,.9) 72%);
animation: rain-fall var(--dur, 1.1s) linear infinite;
animation-delay: calc(var(--d, 0s) + var(--rd, 0s));
}
@keyframes rain-fall {
0% { top: 31%; opacity: 0; transform: scaleY(1) scaleX(1); }
7% { opacity: .95; }
72% { top: 84%; opacity: 1; transform: scaleY(1) scaleX(1); }
80% { top: 90.5%; opacity: .85; transform: scaleY(.22) scaleX(3.1); }
100% { top: 91%; opacity: 0; transform: scaleY(.14) scaleX(4.6); }
}
.puddle {
position: absolute; bottom: 2.5%; left: 9%; right: 9%; height: 14px; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
background: radial-gradient(ellipse at 50% 38%, rgba(190,215,245,.85) 0%, rgba(132,160,200,.45) 58%, rgba(110,135,175,.18) 100%);
filter: blur(.6px);
z-index: 2;
}
.puddle::after {
content: ""; position: absolute; left: 30%; top: 36%; width: 20%; height: 30%;
border-radius: 50%; background: rgba(255,255,255,.38); filter: blur(1.4px);
}
.ripple {
position: absolute; bottom: 4.5%; left: var(--x, 50%); width: 38px; height: 11px; margin-left: -19px;
border-radius: 50%; border: 2px solid rgba(206,228,255,.55); opacity: 0; z-index: 3;
animation: ripple-grow var(--dur, 2.8s) ease-out infinite;
animation-delay: calc(var(--d, 0s) + var(--rd, 0s));
}
@keyframes ripple-grow {
0% { transform: scale(.35); opacity: 0; }
16% { opacity: .6; }
100% { transform: scale(1.8); opacity: 0; }
}
/* ---------- SNOW ---------- */
.cloud--snow {
position: absolute; top: 13%; left: 50%; transform: translateX(-50%); z-index: 2;
width: 96px; height: 24px; border-radius: 999px;
background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(226,236,247,.78) 100%);
box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 12px 26px rgba(70,90,120,.22);
animation: bob 7.2s ease-in-out infinite;
animation-delay: calc(var(--d, 0s));
}
.cloud--snow::before {
content: ""; position: absolute; bottom: 10px; left: 16%; width: 44px; height: 44px; border-radius: 50%;
background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(228,238,249,.8) 100%);
}
.cloud--snow::after {
content: ""; position: absolute; bottom: 8px; right: 13%; width: 36px; height: 36px; border-radius: 50%;
background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(226,236,247,.75) 100%);
}
.flake {
position: absolute; top: -6%; left: var(--x, 50%);
width: var(--s, 7px); height: var(--s, 7px);
border-radius: 50%; opacity: 0; z-index: 1;
background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eaf1fa 70%, #d9e4f2 100%);
box-shadow: 0 0 5px rgba(255,255,255,.9);
animation: snow-fall var(--dur, 5.2s) linear infinite;
animation-delay: calc(var(--d, 0s) + var(--rd, 0s));
}
@keyframes snow-fall {
0% { top: -5%; opacity: 0; transform: translateX(0) rotate(0deg); }
7% { opacity: .95; }
27% { transform: translateX(var(--sway, 12px)) rotate(120deg); }
53% { transform: translateX(0) rotate(200deg); }
76% { transform: translateX(calc(var(--sway, 12px) * -1)) rotate(310deg); }
93% { top: 86%; opacity: .9; }
100% { top: 90%; opacity: 0; transform: translateX(0) rotate(360deg); }
}
.snow-drift {
position: absolute; left: -14%; right: -14%; bottom: -6px; height: 20%; z-index: 3;
border-radius: 52% 48% 0 0 / 46px 46px 0 0;
background: linear-gradient(180deg, #fcfeff 0%, #eef4fb 60%, #dde8f5 100%);
box-shadow: inset 0 5px 9px rgba(255,255,255,.9), inset 0 -12px 18px rgba(190,205,228,.55);
}
.snow-drift::before {
content: ""; position: absolute; bottom: 34%; left: 38%; right: -14%; height: 48%; z-index: -1;
border-radius: 50% 50% 0 0 / 36px 36px 0 0;
background: linear-gradient(180deg, #fdfeff 0%, #eef4fb 82%);
}
/* ---------- THUNDERSTORM ---------- */
.cloud-rear {
position: absolute; top: 10%; left: 58%; transform: translateX(-50%); z-index: 1;
width: 124px; height: 26px; border-radius: 999px;
background: linear-gradient(180deg, #38445a 0%, #2c3648 100%);
}
.cloud--storm {
position: absolute; top: 14%; left: 50%; transform: translateX(-50%); z-index: 2;
width: 114px; height: 30px; border-radius: 999px;
background: linear-gradient(180deg, #5a6a80 0%, #434f63 60%, #39435a 100%);
box-shadow: inset 0 3px 0 rgba(255,255,255,.16), 0 18px 34px rgba(0,0,0,.55);
animation: bob 7s ease-in-out infinite;
animation-delay: calc(var(--d, 0s));
}
.cloud--storm::before {
content: ""; position: absolute; bottom: 11px; left: 13%; width: 54px; height: 54px; border-radius: 50%;
background: linear-gradient(180deg, #55647a 0%, #3d4860 100%);
box-shadow: inset 0 3px 0 rgba(255,255,255,.14);
}
.cloud--storm::after {
content: ""; position: absolute; bottom: 10px; right: 10%; width: 44px; height: 44px; border-radius: 50%;
background: linear-gradient(180deg, #525f76 0%, #3a4459 100%);
}
.card--storm .drop {
background: linear-gradient(180deg, rgba(190,214,255,0) 0%, rgba(220,232,255,.95) 75%);
animation-name: streak-fall;
}
@keyframes streak-fall {
0% { top: 30%; opacity: 0; }
7% { opacity: 1; }
88% { top: 90%; opacity: .9; }
100% { top: 92%; opacity: 0; }
}
.bolt {
position: absolute; top: 10%; left: 50%; margin-left: -24px; width: 48px; height: 106px; z-index: 3;
background: linear-gradient(180deg, #fffef0 0%, #ffedb0 55%, #ffd35e 100%);
clip-path: polygon(56% 0%, 22% 56%, 46% 56%, 32% 100%, 82% 40%, 54% 40%);
filter: drop-shadow(0 0 10px rgba(255,238,170,.9));
opacity: 0;
animation: bolt-flicker 9.1s linear infinite;
animation-delay: calc(var(--d, 0s));
}
@keyframes bolt-flicker {
0%, 6.7% { opacity: 0; }
7.5% { opacity: 1; }
8.6% { opacity: 0; }
9.9% { opacity: .85; }
11.2% { opacity: 0; }
45.9% { opacity: 0; }
46.7% { opacity: .85; }
47.9% { opacity: 0; }
48.9% { opacity: .6; }
50.5% { opacity: 0; }
80.7% { opacity: 0; }
81.6% { opacity: 1; }
82.7% { opacity: 0; }
84.4% { opacity: .7; }
86% { opacity: 0; }
100% { opacity: 0; }
}
.flash {
position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: 0;
background: radial-gradient(circle at 50% 16%, rgba(255,246,214,1) 0%, rgba(214,228,255,.72) 44%, rgba(150,170,225,.38) 100%);
mix-blend-mode: screen;
filter: none;
animation: flash-pulse 9.1s linear infinite;
animation-delay: calc(var(--d, 0s));
}
@keyframes flash-pulse {
0%, 6.2% { opacity: 0; }
7.2% { opacity: 1; }
8.4% { opacity: .09; }
9.8% { opacity: .62; }
11.4% { opacity: 0; }
45.2% { opacity: 0; }
46.3% { opacity: .8; }
47.4% { opacity: .08; }
48.8% { opacity: .5; }
50.6% { opacity: 0; }
80.2% { opacity: 0; }
81.3% { opacity: .88; }
82.6% { opacity: .1; }
84.2% { opacity: .38; }
86% { opacity: 0; }
100% { opacity: 0; }
}
/* ---------- meta overlay ---------- */
.meta {
position: absolute; inset: 0; z-index: 5; pointer-events: none;
display: flex; flex-direction: column; justify-content: space-between;
padding: 15px 16px 16px;
}
.chip {
align-self: flex-start;
display: inline-flex; align-items: center; gap: 8px;
padding: 7px 13px; border-radius: 999px;
font-size: 10.5px; font-weight: 800; letter-spacing: .24em;
color: rgba(28,39,60,.88);
background: rgba(255,255,255,.42);
-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
border: 1px solid rgba(255,255,255,.5);
text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.dot {
width: 8px; height: 8px; border-radius: 50%; flex: none;
background: var(--dot, #ffb020);
box-shadow: 0 0 0 3px rgba(255,255,255,.25), 0 0 10px var(--dot, #ffb020);
animation: dot-pulse 2.8s ease-in-out infinite;
animation-delay: calc(var(--d, 0s) + var(--rd, 0s));
}
@keyframes dot-pulse {
0%, 100% { transform: scale(1); opacity: .85; }
50% { transform: scale(1.28); opacity: 1; }
}
.meta-bottom { display: flex; flex-direction: column; gap: 6px; }
.temp {
font-size: clamp(2.3rem, 1.6rem + 2.6vw, 2.9rem);
font-weight: 800; letter-spacing: -0.03em; line-height: 1;
color: #1d2b41; text-shadow: 0 1px 0 rgba(255,255,255,.4);
font-variant-numeric: tabular-nums;
}
.temp .unit { font-size: .42em; font-weight: 700; opacity: .72; margin-left: 3px; letter-spacing: 0; }
.cond { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(28,39,60,.68); }
.card--rain .temp { color: #f4f8ff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.card--rain .cond { color: rgba(224,232,246,.78); }
.card--storm .chip {
color: rgba(238,242,252,.94);
background: rgba(255,255,255,.1);
border-color: rgba(255,255,255,.2);
text-shadow: none;
}
.card--storm .temp { color: #f4f6fc; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.card--storm .cond { color: rgba(224,231,246,.72); }
.card--storm .dot { background: #ffc94d; box-shadow: 0 0 0 3px rgba(255,255,255,.14), 0 0 12px #ffc94d; }
/* ---------- footer ---------- */
footer {
width: 100%; max-width: 1144px; margin-top: 26px; padding: 0 4px;
display: flex; justify-content: space-between; gap: 12px;
font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
.scene *, .dot, .card { animation: none !important; }
.drift-cloud, .dim, .flash, .bolt, .drop, .flake, .ripple { opacity: 0 !important; }
}
</style>
</head>
<body>
<header>
<div class="brand">
<h1>Weather</h1>
<p class="sub">Four pure-CSS weather cards</p>
</div>
<span class="badge">No JS · No SVG · No images</span>
</header>
<main class="grid" aria-label="Weather conditions">
<article class="card card--sun" style="--d: 0s; --in-d: 0s; --dot: #ffb020" aria-label="Sun, 24 degrees Celsius, clear sky">
<div class="scene sky--sun" aria-hidden="true">
<div class="sun-wrap">
<span class="glow"></span>
<span class="rays"></span>
<span class="sun-disc"></span>
</div>
<span class="drift-cloud"></span>
<span class="dim"></span>
</div>
<div class="meta">
<span class="chip"><i class="dot"></i>SUN</span>
<div class="meta-bottom">
<span class="temp">24<span class="unit">°C</span></span>
<span class="cond">Clear sky</span>
</div>
</div>
</article>
<article class="card card--rain" style="--d: -2.3s; --in-d: .09s; --dot: #6db3ff" aria-label="Rain, 17 degrees Celsius, light rain">
<div class="scene sky--rain" aria-hidden="true">
<span class="cloud cloud--rain"></span>
<i class="drop" style="--x:11%; --dur:1.18s; --rd:-0.10s; --h:17px; --w:3px"></i>
<i class="drop" style="--x:21%; --dur:0.98s; --rd:-0.68s; --h:14px; --w:2.5px"></i>
<i class="drop" style="--x:33%; --dur:1.32s; --rd:-0.42s; --h:18px; --w:3px"></i>
<i class="drop" style="--x:41%; --dur:1.08s; --rd:-0.94s; --h:15px; --w:3px"></i>
<i class="drop" style="--x:52%; --dur:1.24s; --rd:-0.55s; --h:16px; --w:2.5px"></i>
<i class="drop" style="--x:61%; --dur:0.92s; --rd:-0.22s; --h:15px; --w:3px"></i>
<i class="drop" style="--x:70%; --dur:1.29s; --rd:-0.81s; --h:18px; --w:3px"></i>
<i class="drop" style="--x:79%; --dur:1.05s; --rd:-0.36s; --h:14px; --w:2.5px"></i>
<i class="drop" style="--x:86%; --dur:1.17s; --rd:-0.90s; --h:16px; --w:3px"></i>
<i class="drop" style="--x:92%; --dur:0.99s; --rd:-0.47s; --h:15px; --w:2.5px"></i>
<span class="puddle"></span>
<span class="ripple" style="--x:24%; --dur:2.7s; --rd:-0.4s"></span>
<span class="ripple" style="--x:52%; --dur:3.1s; --rd:-1.5s"></span>
<span class="ripple" style="--x:74%; --dur:2.9s; --rd:-2.3s"></span>
</div>
<div class="meta">
<span class="chip"><i class="dot"></i>RAIN</span>
<div class="meta-bottom">
<span class="temp">17<span class="unit">°C</span></span>
<span class="cond">Light rain</span>
</div>
</div>
</article>
<article class="card card--snow" style="--d: -4.6s; --in-d: .18s; --dot: #c4d8f7" aria-label="Snow, minus one degree Celsius, snowfall">
<div class="scene sky--snow" aria-hidden="true">
<span class="cloud cloud--snow"></span>
<i class="flake" style="--x:9%; --s:5px; --dur:5.4s; --rd:-0.4s; --sway:14px"></i>
<i class="flake" style="--x:14%; --s:6.5px; --dur:5.7s; --rd:-2.9s; --sway:13px"></i>
<i class="flake" style="--x:20%; --s:7px; --dur:4.6s; --rd:-1.9s; --sway:10px"></i>
<i class="flake" style="--x:31%; --s:4.5px; --dur:6.3s; --rd:-2.6s; --sway:18px"></i>
<i class="flake" style="--x:40%; --s:8px; --dur:4.9s; --rd:-0.9s; --sway:12px"></i>
<i class="flake" style="--x:50%; --s:6px; --dur:5.7s; --rd:-3.4s; --sway:16px"></i>
<i class="flake" style="--x:59%; --s:9px; --dur:4.3s; --rd:-1.2s; --sway:9px"></i>
<i class="flake" style="--x:68%; --s:5px; --dur:6.0s; --rd:-2.2s; --sway:15px"></i>
<i class="flake" style="--x:73%; --s:5.5px; --dur:6.1s; --rd:-4.3s; --sway:12px"></i>
<i class="flake" style="--x:77%; --s:7px; --dur:5.1s; --rd:-0.6s; --sway:11px"></i>
<i class="flake" style="--x:85%; --s:4.5px; --dur:6.5s; --rd:-3.8s; --sway:17px"></i>
<i class="flake" style="--x:91%; --s:6px; --dur:5.0s; --rd:-1.5s; --sway:13px"></i>
<span class="snow-drift"></span>
</div>
<div class="meta">
<span class="chip"><i class="dot"></i>SNOW</span>
<div class="meta-bottom">
<span class="temp">−1<span class="unit">°C</span></span>
<span class="cond">Snowfall</span>
</div>
</div>
</article>
<article class="card card--storm" style="--d: -1.4s; --in-d: .27s; --dot: #ffc94d" aria-label="Thunderstorm, 19 degrees Celsius, thunderstorm">
<div class="scene sky--storm" aria-hidden="true">
<span class="cloud-rear"></span>
<span class="cloud cloud--storm"></span>
<i class="drop" style="--x:9%; --dur:0.72s; --rd:-0.05s; --h:22px; --w:3.5px"></i>
<i class="drop" style="--x:17%; --dur:0.64s; --rd:-0.41s; --h:20px; --w:3px"></i>
<i class="drop" style="--x:26%; --dur:0.78s; --rd:-0.18s; --h:24px; --w:3.5px"></i>
<i class="drop" style="--x:35%; --dur:0.69s; --rd:-0.62s; --h:21px; --w:3px"></i>
<i class="drop" style="--x:43%; --dur:0.81s; --rd:-0.27s; --h:22px; --w:3.5px"></i>
<i class="drop" style="--x:51%; --dur:0.65s; --rd:-0.55s; --h:20px; --w:3px"></i>
<i class="drop" style="--x:55%; --dur:0.70s; --rd:-0.36s; --h:22px; --w:3.5px"></i>
<i class="drop" style="--x:60%; --dur:0.74s; --rd:-0.10s; --h:23px; --w:3.5px"></i>
<i class="drop" style="--x:68%; --dur:0.68s; --rd:-0.49s; --h:21px; --w:3px"></i>
<i class="drop" style="--x:76%; --dur:0.79s; --rd:-0.31s; --h:22px; --w:3.5px"></i>
<i class="drop" style="--x:84%; --dur:0.66s; --rd:-0.58s; --h:20px; --w:3px"></i>
<i class="drop" style="--x:90%; --dur:0.73s; --rd:-0.19s; --h:23px; --w:3.5px"></i>
<span class="bolt"></span>
<span class="flash"></span>
</div>
<div class="meta">
<span class="chip"><i class="dot"></i>STORM</span>
<div class="meta-bottom">
<span class="temp">19<span class="unit">°C</span></span>
<span class="cond">Thunderstorm</span>
</div>
</div>
</article>
</main>
<footer>
<span>Pure CSS · no JavaScript · no SVG · no images</span>
<span>Every raindrop is an element</span>
</footer>
</body>
</html>Same prompt, other models
One email when a new model lands on the board or in the showcase. Unsubscribe anytime.