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
docs: Marquee / Ticker (05.06): the production note says two copies are enough, instead of saying both once and twice
matin3d913f467c6c
diff --git a/animations/05-text-typography/marquee-ticker/README.md b/animations/05-text-typography/marquee-ticker/README.mdindex 73bf3148..2ba79879 100644--- a/animations/05-text-typography/marquee-ticker/README.md+++ b/animations/05-text-typography/marquee-ticker/README.md@@ -76,7 +76,7 @@ Reverse direction by animating from `-50%` to `0`:| Your text | Animation Handbook | The text that scrolls |## Production notes-- **Duplicate once, not more**: duplicating twice is enough for any viewport width as long as one copy is wider than the viewport. More duplicates waste DOM. If your text is very short, add more repetitions within each copy rather than more copies.+- **Two copies, not more**: two copies are enough for any viewport width as long as one copy is wider than the viewport. More copies waste DOM. If your text is very short, add more repetitions within each copy rather than more copies.- **`width: max-content`** on the track prevents line wrapping. Without it, text wraps at the container width, breaking the layout.- **`will-change: transform`** on the track element promotes it to a GPU compositing layer. Measure performance before adding — it reserves GPU memory and can cause issues on low-end mobile.- **Pause on hover is UX-critical**: users who want to read specific content need to be able to pause. The `:hover` CSS approach is zero JavaScript.