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(responsive): restore collapsed mobile stages across 13 demos
matin3a2f7e082bb6
diff --git a/animations/01-scroll-based/parallax-scrolling/index.html b/animations/01-scroll-based/parallax-scrolling/index.htmlindex 8f4bf37d..d2696ea4 100644--- a/animations/01-scroll-based/parallax-scrolling/index.html+++ b/animations/01-scroll-based/parallax-scrolling/index.html@@ -71,9 +71,9 @@button:hover{border-color:var(--ui-accent);color:var(--ui-accent)}@media(max-width:600px){- .layout{flex-direction:column}+ .layout{flex-direction:column;align-items:stretch}aside{width:100%}- .stage{height:400px}+ .stage{flex:none;height:400px}.layers{height:400px}.layer{height:400px}}diff --git a/animations/02-entrance-and-exit/clip-path-reveal/index.html b/animations/02-entrance-and-exit/clip-path-reveal/index.htmlindex aa00d8e6..1be4a5b9 100644--- a/animations/02-entrance-and-exit/clip-path-reveal/index.html+++ b/animations/02-entrance-and-exit/clip-path-reveal/index.html@@ -47,7 +47,7 @@button.act{flex:1;background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:monospace;font-size:10px;padding:14px 6px;border-radius:4px;cursor:pointer;min-height:44px}button.act.pri{border-color:var(--ui-accent);color:var(--ui-accent)}@media(hover:hover){button.act:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:480px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:480px}.stage{flex:none}}</style></head><body>diff --git a/animations/05-text-typography/enter-exit-typography/index.html b/animations/05-text-typography/enter-exit-typography/index.htmlindex 92f296c9..9668829e 100644--- a/animations/05-text-typography/enter-exit-typography/index.html+++ b/animations/05-text-typography/enter-exit-typography/index.html@@ -65,7 +65,7 @@@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}.tog{display:flex;align-items:center;gap:8px;font-size:10px;cursor:pointer;min-height:44px}.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:480px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:480px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.phrase-el{animation:none!important;opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important}}</style></head>diff --git a/animations/05-text-typography/kinetic-typography/index.html b/animations/05-text-typography/kinetic-typography/index.htmlindex a537f65a..1fea450d 100644--- a/animations/05-text-typography/kinetic-typography/index.html+++ b/animations/05-text-typography/kinetic-typography/index.html@@ -60,7 +60,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.kw{animation:none!important;opacity:1!important;transform:none!important}}</style></head>diff --git a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html b/animations/06-3d-advanced/2-5d-pseudo-3d/index.htmlindex c4f1b0fa..7c0da137 100644--- a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html+++ b/animations/06-3d-advanced/2-5d-pseudo-3d/index.html@@ -63,7 +63,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:monospace;font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.scene-inner{transition:none!important}}</style></head>diff --git a/animations/07-ambient-background/ambient-ripple/index.html b/animations/07-ambient-background/ambient-ripple/index.htmlindex 3e448622..a4efe579 100644--- a/animations/07-ambient-background/ambient-ripple/index.html+++ b/animations/07-ambient-background/ambient-ripple/index.html@@ -34,7 +34,7 @@input[type=color]{border:none;background:none;width:44px;height:30px;cursor:pointer;border-radius:4px;padding:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){canvas{display:none}}</style></head>diff --git a/animations/07-ambient-background/animated-gradient-background/index.html b/animations/07-ambient-background/animated-gradient-background/index.htmlindex 4f51ea10..52c8de9f 100644--- a/animations/07-ambient-background/animated-gradient-background/index.html+++ b/animations/07-ambient-background/animated-gradient-background/index.html@@ -49,7 +49,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.grad-bg{animation-duration:300s!important}}</style></head>diff --git a/animations/07-ambient-background/aurora/index.html b/animations/07-ambient-background/aurora/index.htmlindex 3ee0409b..522b36bc 100644--- a/animations/07-ambient-background/aurora/index.html+++ b/animations/07-ambient-background/aurora/index.html@@ -61,7 +61,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.band{animation-duration:300s!important}}</style></head>diff --git a/animations/07-ambient-background/floating-elements/index.html b/animations/07-ambient-background/floating-elements/index.htmlindex 8070aa29..baaa4985 100644--- a/animations/07-ambient-background/floating-elements/index.html+++ b/animations/07-ambient-background/floating-elements/index.html@@ -41,7 +41,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.el{animation:none!important;transform:none!important}}</style></head>diff --git a/animations/07-ambient-background/grain-overlay/index.html b/animations/07-ambient-background/grain-overlay/index.htmlindex 6f913ad9..c7552d52 100644--- a/animations/07-ambient-background/grain-overlay/index.html+++ b/animations/07-ambient-background/grain-overlay/index.html@@ -44,7 +44,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:auto}.stage{height:auto;min-height:400px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:auto}.stage{flex:none;height:auto;min-height:400px}}@media(prefers-reduced-motion:reduce){canvas{display:none}}</style></head>diff --git a/animations/07-ambient-background/grid-dot-pattern-parallax/index.html b/animations/07-ambient-background/grid-dot-pattern-parallax/index.htmlindex e1cd6699..a0930d0d 100644--- a/animations/07-ambient-background/grid-dot-pattern-parallax/index.html+++ b/animations/07-ambient-background/grid-dot-pattern-parallax/index.html@@ -66,7 +66,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}input[type=color]{border:none;background:none;width:44px;height:30px;cursor:pointer;border-radius:4px;padding:0;flex-shrink:0}.color-row{display:flex;gap:8px;align-items:center;font-size:10px;color:var(--ui-muted)}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.pattern-layer{transition:none!important}.auto-drift{animation-duration:300s!important}}</style></head>diff --git a/animations/07-ambient-background/mesh-gradient/index.html b/animations/07-ambient-background/mesh-gradient/index.htmlindex 9ad983a7..2c0f1fbf 100644--- a/animations/07-ambient-background/mesh-gradient/index.html+++ b/animations/07-ambient-background/mesh-gradient/index.html@@ -43,7 +43,7 @@select{background:var(--ui-bg);border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:8px 6px;border-radius:4px;width:100%;min-height:44px}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:var(--mono);font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:420px}.stage{flex:none}}@media(prefers-reduced-motion:reduce){.blob{animation-duration:300s!important}}</style></head>diff --git a/animations/07-ambient-background/scanline/index.html b/animations/07-ambient-background/scanline/index.htmlindex 34c03e60..dd45d022 100644--- a/animations/07-ambient-background/scanline/index.html+++ b/animations/07-ambient-background/scanline/index.html@@ -64,7 +64,7 @@.tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}button.rst{background:transparent;border:1px solid var(--ui-border);color:var(--ui-text);font-family:monospace;font-size:10px;padding:14px 8px;border-radius:4px;cursor:pointer;width:100%}@media(hover:hover){button.rst:hover{border-color:var(--ui-accent);color:var(--ui-accent)}}- @media(max-width:600px){.layout{flex-direction:column}aside{width:100%}:root{--stage-h:auto}.stage{height:auto;min-height:420px}}+ @media(max-width:600px){.layout{flex-direction:column;align-items:stretch}aside{width:100%}:root{--stage-h:auto}.stage{flex:none;height:auto;min-height:420px}}@media(prefers-reduced-motion:reduce){.beam{animation-duration:60s!important}.term-cursor{animation:none!important}}</style></head>