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: make Clip-Path Reveal's Top and Bottom wipes start from the edge they name

matin1b5dc2dc94df
diff --git a/animations/02-entrance-and-exit/clip-path-reveal/index.html b/animations/02-entrance-and-exit/clip-path-reveal/index.html
index bea02beb..0bbaa8c7 100644
--- a/animations/02-entrance-and-exit/clip-path-reveal/index.html
+++ b/animations/02-entrance-and-exit/clip-path-reveal/index.html
@@ -171,8 +171,8 @@
inset:{
left:{out:'inset(0 100% 0 0)', in:'inset(0 0% 0 0)'},
right:{out:'inset(0 0 0 100%)', in:'inset(0 0 0 0%)'},
- top:{out:'inset(100% 0 0 0)', in:'inset(0% 0 0 0)'},
- bottom:{out:'inset(0 0 100% 0)', in:'inset(0 0 0% 0)'},
+ top:{out:'inset(0 0 100% 0)', in:'inset(0 0 0% 0)'},
+ bottom:{out:'inset(100% 0 0 0)', in:'inset(0% 0 0 0)'},
center:{out:'inset(50% 50%)', in:'inset(0%)'},
},
circle:{out:'circle(0% at 50% 50%)', in:'circle(75% at 50% 50%)'},