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: Dissolve Transition: the reduced-motion Compare note during Show me names both halves and says what shows

matinb3516834cad3
diff --git a/animations/03-page-transitions/dissolve/index.html b/animations/03-page-transitions/dissolve/index.html
index d0d71989..40a520d0 100644
--- a/animations/03-page-transitions/dissolve/index.html
+++ b/animations/03-page-transitions/dissolve/index.html
@@ -401,7 +401,7 @@
const SH0=.58,SH1=.08,SPAN=1300,POSE=.4; // a tile's shade for the first and the last turn; the strip's time line stands for SPAN ms; Compare holds a change at POSE of its length
const noteIn=document.querySelector('[data-hb-for="inside"]'),noteCmp=document.querySelector('[data-hb-for="compare"]');
const NOTE_POSED='Shown still, part way through a change: Plain fade is an even blend; Dissolves in tiles has covered part of the old page, tile by tile.';
- const NOTE_RUN='Reduced motion: changes are quick and tile-free in both halves; between changes the box holds a still, part way through one.';
+ const NOTE_RUN='Reduced motion: Plain fade and Dissolves in tiles both change quickly, with no tiles; the still part way through a change comes back when the run ends.';
if(!motionOk){
noteIn.textContent="Shown still: each tile's shade is its turn, lighter first; once all are in, the page swaps underneath.";
noteCmp.textContent=NOTE_POSED;