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.

docs: correct the 2.5D moon comment, which claimed no peak can cover the moon at any width

matin5036d505f62d
diff --git a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html b/animations/06-3d-advanced/2-5d-pseudo-3d/index.html
index fa81aac2..1efc492a 100644
--- a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html
+++ b/animations/06-3d-advanced/2-5d-pseudo-3d/index.html
@@ -52,7 +52,7 @@
/* Moon */
.moon{position:absolute;top:15%;right:20%;width:36px;height:36px;border-radius:50%;background:#d8e8f8;box-shadow:0 0 20px rgba(200,220,255,.4)}
/* On a stage under about 360px tall the far mountains reach up to the moon (their sizes are fixed), so the moon moves up
- and into the corner, above the highest peaks, where none of them can cover it at any stage width */
+ and into the corner, above the highest peaks, where they cover at most a sliver of it (under 2px on 350–440px phones) */
@container (max-height:360px){.moon{top:4%;right:6%}}
/* Cursor ring: moved with a transform, from the stage's top left corner */
#cursor{position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;border:2px solid var(--ui-accent);pointer-events:none;z-index:100;display:none}