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: Reverse-Scrolling Columns: Compare's card names stay inside their cards (icon-only below 145px of column, longer names end in an ellipsis)
Claude45706f8f0a2d
diff --git a/animations/01-scroll-based/reverse-scrolling-columns/index.html b/animations/01-scroll-based/reverse-scrolling-columns/index.htmlindex 70fcf481..f40d69bb 100644--- a/animations/01-scroll-based/reverse-scrolling-columns/index.html+++ b/animations/01-scroll-based/reverse-scrolling-columns/index.html@@ -76,14 +76,15 @@.stage[data-hb-mode="compare"] .half{display:flex;gap:8px;min-width:0;position:relative;padding:30px 8px 0}.stage[data-hb-mode="compare"] .half:not(.twin)::before{content:"";position:absolute;left:-1px;top:0;bottom:0;width:2px;background:rgba(244,244,242,.22)}.stage[data-hb-mode="compare"] .col{container-type:inline-size;overflow:visible clip}- .stage[data-hb-mode="compare"] .card-label{white-space:nowrap}+ .stage[data-hb-mode="compare"] .card-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}+ .stage[data-hb-mode="compare"] .card>div:last-child{min-width:0}.stage[data-hb-mode="compare"] .carrow{display:flex;position:absolute;z-index:2;top:0;left:-1px;right:-1px;height:40px;align-items:center;justify-content:center;background:#0b0b0d;border-bottom:1px solid var(--ui-border)}.carrow .ar{position:relative}.carrow .dn{color:var(--ui-accent)}.stage[data-hb-mode="compare"] .hname{display:block;position:absolute;top:0;left:8px}@container (max-width:200px){.stage[data-hb-mode="compare"] .card-meta{display:none}}- @container (max-width:120px){.stage[data-hb-mode="compare"] .card>div:last-child{display:none}.stage[data-hb-mode="compare"] .card{justify-content:center;padding:10px 0}}+ @container (max-width:145px){.stage[data-hb-mode="compare"] .card>div:last-child{display:none}.stage[data-hb-mode="compare"] .card{justify-content:center;padding:10px 0}}@media(max-width:600px){.col-right{display:none}.zl br{display:inline}.stage[data-hb-mode="inside"] .col-mid{margin:0 80px 0 100px}}@media(prefers-reduced-motion:reduce){.col-inner{will-change:auto}