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.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
fix: Slide Up Reveal: See inside's hidden-line caption sits below the edge caption on narrow phones, so the two never overlap
matin2715ec88a2d1
diff --git a/animations/02-entrance-and-exit/slide-up-reveal/index.html b/animations/02-entrance-and-exit/slide-up-reveal/index.htmlindex 0550c364..639ab256 100644--- a/animations/02-entrance-and-exit/slide-up-reveal/index.html+++ b/animations/02-entrance-and-exit/slide-up-reveal/index.html@@ -351,7 +351,7 @@const top=L('t-move');put(top,W-16,w=>(W-w)/2,()=>8);const lo=top.offsetTop+top.offsetHeight+4,hi=L('when').offsetTop-4;put(L('t-edge'),W-k[0].r-TICK-6,()=>k[0].r+TICK,h=>ey-h/2,lo,hi);- if(narrow)put(L('t-hid'),W-k[0].r-TICK-6,()=>k[0].r+TICK,h=>hy-h/2,lo,hi);+ if(narrow)put(L('t-hid'),W-k[0].r-TICK-6,()=>k[0].r+TICK,h=>hy-h/2,Math.max(lo,L('t-edge').offsetTop+L('t-edge').offsetHeight+4),hi);else put(L('t-hid'),k[0].l-TICK-6,w=>k[0].l-TICK-w,h=>hy-h/2,lo,hi);const late=L('t-late');put(late,W-k[0].r-TICK-6,()=>k[0].r+TICK,h=>(k[1].t+k[1].b)/2-h/2,lo,hi);