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.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
fix: use the site font for stage text
matine3aee81c5836
diff --git a/animations/02-entrance-and-exit/blur-in/index.html b/animations/02-entrance-and-exit/blur-in/index.htmlindex 0b8a7fcf..f64ce58e 100644--- a/animations/02-entrance-and-exit/blur-in/index.html+++ b/animations/02-entrance-and-exit/blur-in/index.html@@ -24,7 +24,7 @@:root{--ui-accent:#5fd88a;--ui-muted:#77777e;--dur:700ms;--ease:ease-out;--blur-start:20px;--ty:-8px}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;background:#0b0b0d}- .card{font-family:monospace;background:#161b22;border:1px solid #30363d;border-radius:14px;padding:clamp(28px,5vw,48px);text-align:center;max-width:320px;+ .card{background:#161b22;border:1px solid #30363d;border-radius:14px;padding:clamp(28px,5vw,48px);text-align:center;max-width:320px;opacity:0;filter:blur(var(--blur-start));transform:translateY(var(--ty));transition:opacity var(--dur) var(--ease),filter var(--dur) var(--ease),transform var(--dur) var(--ease);will-change:opacity,filter,transform}diff --git a/animations/02-entrance-and-exit/clip-path-reveal/index.html b/animations/02-entrance-and-exit/clip-path-reveal/index.htmlindex 2207796c..48303aaf 100644--- a/animations/02-entrance-and-exit/clip-path-reveal/index.html+++ b/animations/02-entrance-and-exit/clip-path-reveal/index.html@@ -29,7 +29,7 @@.surface.in{clip-path:var(--cp-in,inset(0 0% 0 0))}.surface-bg{position:absolute;inset:0;background:linear-gradient(135deg,#1a2a4a 0%,#0d3a5c 40%,#1a4a3a 70%,#2a3a1a 100%)}.surface-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(88,166,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(88,166,255,.08) 1px,transparent 1px);background-size:40px 40px}- .surface-text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-family:monospace;text-align:center}+ .surface-text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.surface-label{font-size:10px;text-transform:uppercase;letter-spacing:3px;opacity:.5}.surface-title{font-size:clamp(22px,4vw,36px);font-weight:bold}@media(prefers-reduced-motion:reduce){.surface{opacity:0;transition:opacity 400ms linear!important;clip-path:none!important}.surface.in{opacity:1}}diff --git a/animations/02-entrance-and-exit/curtain-reveal/index.html b/animations/02-entrance-and-exit/curtain-reveal/index.htmlindex bee6917c..48c49433 100644--- a/animations/02-entrance-and-exit/curtain-reveal/index.html+++ b/animations/02-entrance-and-exit/curtain-reveal/index.html@@ -24,7 +24,7 @@:root{--ui-accent:#5fd88a;--ui-muted:#77777e;--dur:500ms;--ease:cubic-bezier(.2,.7,.3,1);--curtain-color:#111827}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0a0f18;position:relative}- .content{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:24px;z-index:1;font-family:monospace}+ .content{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:24px;z-index:1}.content-badge{font-size:10px;text-transform:uppercase;letter-spacing:3px;color:var(--ui-accent);opacity:.7}.content-title{font-size:clamp(24px,4vw,42px);font-weight:bold;line-height:1.1}.content-sub{font-size:12px;color:var(--ui-muted);max-width:260px;line-height:1.6}diff --git a/animations/02-entrance-and-exit/fade-in-out/index.html b/animations/02-entrance-and-exit/fade-in-out/index.htmlindex c82fff1d..a48d890f 100644--- a/animations/02-entrance-and-exit/fade-in-out/index.html+++ b/animations/02-entrance-and-exit/fade-in-out/index.html@@ -24,7 +24,7 @@:root{--ui-accent:#5fd88a;--ui-muted:#77777e;--dur:600ms;--ease:ease-out}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;background:#0b0b0d}- .card{font-family:monospace;background:#161b22;border:1px solid #30363d;border-radius:12px;padding:clamp(28px,5vw,48px);text-align:center;max-width:320px;+ .card{background:#161b22;border:1px solid #30363d;border-radius:12px;padding:clamp(28px,5vw,48px);text-align:center;max-width:320px;opacity:0;transition:opacity var(--dur) var(--ease);will-change:opacity}.card.in{opacity:1}.card-icon{font-size:32px;margin-bottom:14px;opacity:.6}diff --git a/animations/02-entrance-and-exit/letter-by-letter-stagger/index.html b/animations/02-entrance-and-exit/letter-by-letter-stagger/index.htmlindex 71c77c6a..6ca031d9 100644--- a/animations/02-entrance-and-exit/letter-by-letter-stagger/index.html+++ b/animations/02-entrance-and-exit/letter-by-letter-stagger/index.html@@ -25,7 +25,7 @@*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0b0b0d;padding:clamp(20px,4vw,48px);min-height:clamp(300px,calc(100vh - 420px),440px);min-height:clamp(300px,calc(100svh - 420px),440px)}- #text-target{font-family:monospace;font-size:clamp(26px,5vw,56px);font-weight:bold;text-align:center;line-height:1.2;max-width:560px;word-break:break-word;position:relative}+ #text-target{font-size:clamp(26px,5vw,56px);font-weight:bold;text-align:center;line-height:1.2;max-width:560px;word-break:break-word;position:relative}/* cascade mode */.char{display:inline-block}[data-mode="cascade"] .char{opacity:0;transition:opacity var(--dur) var(--ease) calc(var(--i)*var(--stagger)),transform var(--dur) var(--ease) calc(var(--i)*var(--stagger))}@@ -33,7 +33,8 @@[data-mode="cascade"][data-anim="scale"] .char{transform:scale(0.3)}[data-mode="cascade"][data-anim="rotate"] .char{transform:rotateY(90deg)}[data-mode="cascade"].done .char{opacity:1;transform:none}- /* typewriter mode */+ /* typewriter mode: typed text keeps a typewriter font */+ #text-target[data-mode="typewriter"]{font-family:monospace}[data-mode="typewriter"] .char{opacity:0}[data-mode="typewriter"] .char.visible{opacity:1}.cursor{display:inline-block;width:3px;height:0.85em;background:var(--ui-accent);vertical-align:text-bottom;margin-left:2px;animation:blink 1s step-end infinite}diff --git a/animations/02-entrance-and-exit/scale-in/index.html b/animations/02-entrance-and-exit/scale-in/index.htmlindex 8b940677..08f11db3 100644--- a/animations/02-entrance-and-exit/scale-in/index.html+++ b/animations/02-entrance-and-exit/scale-in/index.html@@ -24,7 +24,7 @@:root{--ui-accent:#5fd88a;--ui-muted:#77777e;--dur:500ms;--ease:cubic-bezier(.34,1.56,.64,1);--ss:0.8;--origin:center}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0b0b0d}- .card{font-family:monospace;background:linear-gradient(135deg,#161b22,#1a2030);border:1px solid #30363d;border-radius:16px;padding:clamp(28px,5vw,48px);text-align:center;width:clamp(220px,50%,280px);+ .card{background:linear-gradient(135deg,#161b22,#1a2030);border:1px solid #30363d;border-radius:16px;padding:clamp(28px,5vw,48px);text-align:center;width:clamp(220px,50%,280px);opacity:var(--fade-opacity,0);transform:scale(var(--ss));transform-origin:var(--origin);transition:transform var(--dur) var(--ease),opacity var(--dur) var(--ease);will-change:transform,opacity}.card.in{opacity:1;transform:scale(1)}diff --git a/animations/02-entrance-and-exit/slide-in/index.html b/animations/02-entrance-and-exit/slide-in/index.htmlindex b45fae23..d3190da4 100644--- a/animations/02-entrance-and-exit/slide-in/index.html+++ b/animations/02-entrance-and-exit/slide-in/index.html@@ -24,7 +24,7 @@:root{--ui-accent:#5fd88a;--ui-muted:#77777e;--dur:600ms;--ease:ease-out;--tx:0px;--ty:200px;--fade:0}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;background:#0b0b0d}- .card{font-family:monospace;background:#161b22;border:1px solid #30363d;border-radius:12px;padding:clamp(28px,5vw,48px);text-align:center;max-width:300px;+ .card{background:#161b22;border:1px solid #30363d;border-radius:12px;padding:clamp(28px,5vw,48px);text-align:center;max-width:300px;opacity:var(--fade);transform:translate(var(--tx),var(--ty));transition:transform var(--dur) var(--ease),opacity var(--dur) var(--ease);will-change:transform,opacity}.card.in{opacity:1!important;transform:translate(0,0)!important}diff --git a/animations/02-entrance-and-exit/slide-up-reveal/index.html b/animations/02-entrance-and-exit/slide-up-reveal/index.htmlindex a531aad3..e57ecf90 100644--- a/animations/02-entrance-and-exit/slide-up-reveal/index.html+++ b/animations/02-entrance-and-exit/slide-up-reveal/index.html@@ -29,8 +29,8 @@[data-method="translatey"] .line.in{transform:translateY(0)}[data-method="clippath"] .line{display:block;clip-path:inset(100% 0 0 0);transition:clip-path var(--dur) var(--ease);transition-delay:calc(var(--d,0)*var(--stagger))}[data-method="clippath"] .line.in{clip-path:inset(0% 0 0 0)}- .headline{font-family:monospace;font-size:clamp(28px,5vw,52px);font-weight:bold;text-align:center;line-height:1.1}- .sub-line{font-family:monospace;font-size:clamp(13px,2vw,16px);color:var(--ui-muted);text-align:center}+ .headline{font-size:clamp(28px,5vw,52px);font-weight:bold;text-align:center;line-height:1.1}+ .sub-line{font-size:clamp(13px,2vw,16px);color:var(--ui-muted);text-align:center}@media(prefers-reduced-motion:reduce){.line{opacity:0;transition:opacity 300ms linear!important;transform:none!important;clip-path:none!important} .line.in{opacity:1!important}}</style><link rel="stylesheet" href="../../../assets/css/demo-page.css">diff --git a/animations/02-entrance-and-exit/split-text-reveal/index.html b/animations/02-entrance-and-exit/split-text-reveal/index.htmlindex 274bc2fa..ee7d9acb 100644--- a/animations/02-entrance-and-exit/split-text-reveal/index.html+++ b/animations/02-entrance-and-exit/split-text-reveal/index.html@@ -25,7 +25,7 @@*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0b0b0d;padding:clamp(20px,4vw,48px);min-height:clamp(300px,calc(100vh - 420px),440px);min-height:clamp(300px,calc(100svh - 420px),440px)}- #text-target{font-family:monospace;font-size:clamp(24px,4.5vw,48px);font-weight:bold;text-align:center;line-height:1.35;max-width:560px;word-break:break-word}+ #text-target{font-size:clamp(24px,4.5vw,48px);font-weight:bold;text-align:center;line-height:1.35;max-width:560px;word-break:break-word}/* shared unit styles — animation-type overrides below */.unit{display:inline-block;opacity:0;diff --git a/animations/02-entrance-and-exit/word-by-word-reveal/index.html b/animations/02-entrance-and-exit/word-by-word-reveal/index.htmlindex abd73e12..213600f4 100644--- a/animations/02-entrance-and-exit/word-by-word-reveal/index.html+++ b/animations/02-entrance-and-exit/word-by-word-reveal/index.html@@ -25,7 +25,7 @@*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0b0b0d;padding:clamp(20px,4vw,48px);min-height:clamp(300px,calc(100vh - 420px),440px);min-height:clamp(300px,calc(100svh - 420px),440px)}- #text-target{font-family:monospace;font-size:clamp(18px,3vw,28px);font-weight:bold;text-align:center;line-height:1.55;max-width:520px}+ #text-target{font-size:clamp(18px,3vw,28px);font-weight:bold;text-align:center;line-height:1.55;max-width:520px}.word{display:inline-block;margin-right:0.28em;opacity:0;transition:opacity var(--dur) var(--ease) calc(var(--i)*var(--stagger)),transform var(--dur) var(--ease) calc(var(--i)*var(--stagger)),filter var(--dur) var(--ease) calc(var(--i)*var(--stagger))}[data-anim="fade-up"] .word{transform:translateY(0.4em)}diff --git a/docs/superpowers/specs/2026-09-27-demo-page-rollout-design.md b/docs/superpowers/specs/2026-09-27-demo-page-rollout-design.mdindex b7ee879f..d01c83d1 100644--- a/docs/superpowers/specs/2026-09-27-demo-page-rollout-design.md+++ b/docs/superpowers/specs/2026-09-27-demo-page-rollout-design.md@@ -123,6 +123,7 @@ in the player bar; Replay, Pause, Play and Show me still work when the visitor pSee also line ends with one plain phrase.7. Old layout removed: headers and asides of the original layout, `.note`, readouts, "Copy source", the firstredesign's `hb-view` markup and `handbook.css`/`handbook.js` links.+8. Stage text uses the site font; only effects about typing keep a typewriter font.---