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: from 761 to 1024px How did it move? drops to five columns as What and When drop to four, so its longest answer takes two lines, not four

matinb89a93c384cd
diff --git a/index.html b/index.html
index 3067253f..5ef358a6 100644
--- a/index.html
+++ b/index.html
@@ -369,7 +369,7 @@ button,input{font:inherit;color:inherit}
.finder .pillbtn{min-height:52px;padding:0 24px;font-size:16px;justify-content:center} /* Start over keeps its words in the middle when a phone stretches it */
.fd-gline{margin:-12px 0 18px;font-size:15px;color:var(--muted)}
@media(hover:hover){.fd-a:hover{border-color:var(--ink)}}
-@media(max-width:1024px){.fd-as{grid-template-columns:repeat(4,minmax(0,1fr))}}
+@media(max-width:1024px){.fd-as{grid-template-columns:repeat(4,minmax(0,1fr))}.fd-how .fd-as{grid-template-columns:repeat(5,minmax(0,1fr))}} /* How keeps one column more than What and When at every width */
@media(max-width:760px){.fd-as{grid-template-columns:repeat(3,minmax(0,1fr))}.fd-how .fd-as{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){
.fd-as{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}