Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

fix: Not sure's dashed outline stands out at 3.5:1 against the page in the light theme (4.9:1 in dark), no longer a faint 1.2:1

matinc0622c25d2ea
diff --git a/index.html b/index.html
index 0691a87b..41de7584 100644
--- a/index.html
+++ b/index.html
@@ -363,7 +363,7 @@ button,input{font:inherit;color:inherit}
.fd-a:has(.fd-r:checked){border-color:var(--ink);box-shadow:0 0 0 2px var(--ink)}
.fd-a:has(.fd-r:checked)::before{content:"";position:absolute;top:-9px;right:-9px;width:22px;height:22px;border-radius:50%;background:var(--ink)}
.fd-a:has(.fd-r:checked)::after{content:"";position:absolute;top:-5px;right:-1px;width:6px;height:11px;border:solid var(--bg);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
-.fd-unsure,.fd-how .fd-unsure{justify-content:center;border-style:dashed;background:none;color:var(--ink-2);font-weight:500}
+.fd-unsure,.fd-how .fd-unsure{justify-content:center;border-style:dashed;border-color:color-mix(in srgb,var(--muted) 80%,var(--bg));background:none;color:var(--ink-2);font-weight:500} /* the dashed outline is the only edge Not sure has: 3.5:1 against the page in light, 4.9:1 in dark */
.fd-go{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:clamp(24px,4vw,40px)}
.fd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:999px;border:0;background:var(--ink);color:var(--bg);font-size:16px;font-weight:700;text-decoration:none;cursor:pointer}
.finder .pillbtn{min-height:52px;padding:0 24px;font-size:16px;justify-content:center} /* Start over keeps its words in the middle when a phone stretches it */