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: Overlay Wipe's two views keep the small site's text whole on short windows and phones held sideways, the light panel is fainter in See inside, and the reduced-motion Compare note says what each half does
matinec13d389464b
diff --git a/animations/03-page-transitions/overlay-wipe/index.html b/animations/03-page-transitions/overlay-wipe/index.htmlindex 19b9907e..c3c2279e 100644--- a/animations/03-page-transitions/overlay-wipe/index.html+++ b/animations/03-page-transitions/overlay-wipe/index.html@@ -59,11 +59,13 @@as numbered bars on one time line, with a marker that moves through them while a change runs. At rest the panel standsover the page, with the marker where the page changes. */.stage[data-hb-mode="inside"] .panel{opacity:.55}+ /* With two panels the light one is fainter, so the page behind both still reads */+ .stage[data-hb-mode="inside"] .panel.back{opacity:.3}.stage[data-hb-mode="inside"].posed .wipe{display:block}.stage[data-hb-mode="inside"] .steps{display:block}.stage[data-hb-mode="inside"] .steps .lbl{display:inline-block}- /* The strip takes room from the page area, so the page keeps the tighter spacing of short windows (and on phones only its- eyebrow and heading); the panel's name rides in the panel's top corner, clear of the heading that shows through */+ /* The strip takes room from the page area, so the page keeps the tighter spacing of short windows (and on phones and short+ windows only its eyebrow and heading); the panel's name rides in the panel's top corner, clear of the heading that shows through */.stage[data-hb-mode="inside"] .pc{gap:8px}.stage[data-hb-mode="inside"] .gi{padding:12px}.stage[data-hb-mode="inside"] .panel.front{place-items:start end;padding:10px 18px}@@ -92,11 +94,15 @@.side.first{left:10px}.side.second{left:calc(50% + 10px)}@media(max-width:600px){- .stage[data-hb-mode="inside"] .pp,.stage[data-hb-mode="inside"] .pgrid,.stage[data-hb-mode="inside"] .pstat{display:none}.stage[data-hb-mode="compare"] .mini-nav{gap:4px;padding:6px}.stage[data-hb-mode="compare"] .nav-btn{padding:0 6px;font-size:12px;min-width:44px;justify-content:center}.stage[data-hb-mode="compare"] .pc{padding:12px;gap:6px}.stage[data-hb-mode="compare"] .ph{font-size:16px}+ }+ /* Phones and short windows (a phone held sideways too) leave the page area short: the page keeps only its eyebrow and heading,+ inside its area in See inside and clear of the half names in Compare */+ @media(max-width:600px),(max-height:650px){+ .stage[data-hb-mode="inside"] .pp,.stage[data-hb-mode="inside"] .pgrid,.stage[data-hb-mode="inside"] .pstat{display:none}.stage[data-hb-mode="compare"] .pp,.stage[data-hb-mode="compare"] .pgrid,.stage[data-hb-mode="compare"] .pstat{display:none}}/* From 360px down the halves stack; a stacked half is short, so its page text starts at the top, clear of its name */@@ -289,7 +295,7 @@// Under reduced motion both views are still pictures, and their notes say soif(!motionOk){document.querySelector('[data-hb-for="inside"]').textContent='Inside, shown still: the see-through panel covers the page while it changes, and the bars are the three steps of the change.';- document.querySelector('[data-hb-for="compare"]').textContent='Shown still: Switches at once has simply changed page; Panel sweeps over has its panel caught half way across.';+ document.querySelector('[data-hb-for="compare"]').textContent='Shown still: Switches at once simply changes page; Panel sweeps over has its panel caught halfway across.';}// Drops a timer's id once it fires, so `timers` only holds the ones still waiting.