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: Scale In / Zoom In: Compare's rest takes a new Grows from at once

matinc2b3c701419a
diff --git a/animations/02-entrance-and-exit/scale-in/index.html b/animations/02-entrance-and-exit/scale-in/index.html
index 0d33dce9..694ffe66 100644
--- a/animations/02-entrance-and-exit/scale-in/index.html
+++ b/animations/02-entrance-and-exit/scale-in/index.html
@@ -349,6 +349,7 @@
function pose(on){
stage.classList.toggle('posed',on);
if(!on)return;
+ vars.setProperty('--origin',origin);
stage.style.setProperty('--pose-s',ss+(1-ss)*POSE);
stage.style.setProperty('--pose-o',fadeTog.checked?POSE:1);
}