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: with reduced motion Grew or shrank holds a small square beside a big one instead of a corner arrow that read as expand, and Moved in layers' arrow sits above the bands, clear of the teal one

matin9c7ae35de6c6
diff --git a/index.html b/index.html
index 41de7584..3067253f 100644
--- a/index.html
+++ b/index.html
@@ -1600,20 +1600,23 @@ button,input{font:inherit;color:inherit}
@media(prefers-reduced-motion:reduce){
.fd-pic *,.fd-pic *::before,.fd-pic *::after{animation:none!important}
/* still frames where the resting styles above do not show the movement: the blur beside the sharp square, the circle beside
- the square, the square still growing */
+ the square, the small square beside the big one */
.fd-fade i:nth-child(1){opacity:.8;transform:translateX(-16px) scale(.6)}
.fd-fade i:nth-child(2){transform:translateX(16px) scale(.6)}
.fd-morph i:nth-child(1){transform:translateX(-16px) scale(.6)}
.fd-morph i:nth-child(2){opacity:1;transform:translateX(16px) scale(.6)}
- .fd-grow i:nth-child(1){transform:scale(.7)}
+ .fd-grow i:nth-child(1){transform:translateX(-21px) scale(.4)}
+ .fd-grow i:nth-child(2){display:block;left:16px;top:16px;width:32px;height:32px;border-radius:7px;background:var(--c2);transform:translateX(16px) scale(.75)}
/* the small arrow: which way it moves (a curved one for turning, a double one for glitching, a dark one on the pink panel) */
.fd-pic::after{content:"";position:absolute;left:var(--ax,44px);top:var(--ay,4px);width:var(--as,16px);height:var(--as,16px);transform:rotate(var(--ar,0deg));background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.fd-fade,.fd-morph{--ax:25px;--ay:25px;--as:14px}
.fd-slide,.fd-reveal{--ax:47px;--ay:24px}
- .fd-grow,.fd-pieces,.fd-wave{--ax:49px;--ay:1px;--as:14px;--ar:-45deg}
+ .fd-grow{--ax:20px;--ay:25px;--as:14px}
+ .fd-pieces,.fd-wave{--ax:49px;--ay:1px;--as:14px;--ar:-45deg}
.fd-bounce,.fd-stagger{--ax:46px;--ay:24px;--ar:90deg}
.fd-follow{--ax:4px;--ay:44px;--ar:-40deg}
- .fd-color,.fd-draw,.fd-layers,.fd-glitch{--ax:26px;--ay:49px}
+ .fd-color,.fd-draw,.fd-glitch{--ax:26px;--ay:49px}
+ .fd-layers{--ax:25px;--ay:0px;--as:14px} /* above the bands, clear of them all */
.fd-pin{--ax:49px;--ay:44px;--ar:-90deg}
.fd-drift{--ax:24px;--ay:24px;--ar:-30deg}
.fd-turn::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.3-5.7M20 4v5h-5'/%3E%3C/svg%3E")}