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: update rootMargin in README to match implementation (50%)

matinbe2159423bc6
diff --git a/animations/01-scroll-based/fly-in-fly-out-contact-list/README.md b/animations/01-scroll-based/fly-in-fly-out-contact-list/README.md
index 31f95333..405203c9 100644
--- a/animations/01-scroll-based/fly-in-fly-out-contact-list/README.md
+++ b/animations/01-scroll-based/fly-in-fly-out-contact-list/README.md
@@ -46,7 +46,7 @@ if (pos < Z) { // exit zone (top)
} // else: active zone — opacity=1, ty=0, scale=1
```
-An `IntersectionObserver` with `rootMargin: '25% 0px'` maintains a Set of
+An `IntersectionObserver` with `rootMargin: '50% 0px'` maintains a Set of
rows currently in or near the viewport. The rAF callback iterates only that
Set — never all 15 rows unconditionally.