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: Famous effects as the owner approved it: entry 7 replaced by reserve R3 (Apple's headline sweep, the one reserve the live check found; R1 and R2 were not found), entry 8 left out, eleven entries
matin6bc1b8164c6d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f3563886..44f891f0 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,7 +11,7 @@ The main steps of Animation Handbook, newest first, with the number of animation- The AI skill builds what the user asks for on their own page: each setting comes with the demo's values as a startingpoint, the catalog is searched rather than read whole, and the rules cover what a real page needs (nothing on thefirst screen waits for a scroll, decorations stay out of the keyboard order, loops pause out of view).-- A Famous effects page: twelve effects people admire on well-known websites, each described in plain words with the+- A Famous effects page: eleven effects people admire on well-known websites, each described in plain words with thehandbook animations that make something similar and a prompt to build your own. It is linked from the home page's footer.## 1.0.0 — 2026-10-10diff --git a/famous/index.html b/famous/index.htmlindex eb191830..57d828df 100644--- a/famous/index.html+++ b/famous/index.html@@ -296,42 +296,10 @@ button{font:inherit;color:inherit}.pv-fade{background:#08090c;display:grid;place-items:center}.pv-fade .sq{width:40%;height:44%;border-radius:6px;background:color-mix(in srgb,var(--accent) 26%,#12141a);border:1px solid var(--accent);animation:e-fade 2.6s ease-in-out infinite}@keyframes e-fade{0%,100%{opacity:0}40%,60%{opacity:1}}-/* glow: Breathing / Pulsing Glow */-.pv-glow{background:radial-gradient(circle at 50% 52%,#12100a,#050609 70%)}-.pv-glow .core{position:absolute;top:50%;left:50%;width:34%;height:34%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,var(--accent),transparent 66%);filter:blur(8px);animation:breath 5s ease-in-out infinite}-.pv-glow .ring{position:absolute;top:50%;left:50%;width:34%;height:34%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid color-mix(in srgb,var(--accent) 50%,transparent);animation:breathring 5s ease-in-out infinite}-@keyframes breath{0%,100%{transform:translate(-50%,-50%) scale(.8);opacity:.6}50%{transform:translate(-50%,-50%) scale(1.25);opacity:1}}-@keyframes breathring{0%,100%{transform:translate(-50%,-50%) scale(.9);opacity:.7}50%{transform:translate(-50%,-50%) scale(2);opacity:0}}/* gtext: Text Gradient Animation */.pv-gtext{background:#0c0608;display:grid;place-items:center}.pv-gtext span{font-family:var(--disp);font-size:58px;font-weight:800;letter-spacing:-.03em;background:linear-gradient(100deg,var(--c5),var(--c3),var(--c1),var(--c5));background-size:280% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:gtext 4s linear infinite}@keyframes gtext{to{background-position:280% 0}}-/* words: Word-by-Word Reveal */-.pv-words{background:#08090c;display:flex;flex-direction:column;gap:14%;justify-content:center;align-items:flex-start;padding:22% 18%}-.pv-words b{height:12px;border-radius:2px;background:var(--accent);opacity:0;transform:translateY(60%);animation:e-words 3s var(--ease) infinite}-.pv-words b:nth-child(1){width:70%}-.pv-words b:nth-child(2){width:92%;animation-delay:.2s}-.pv-words b:nth-child(3){width:54%;animation-delay:.4s}-@keyframes e-words{0%{opacity:0;transform:translateY(60%)}30%,80%{opacity:1;transform:none}100%{opacity:0}}-/* heart: Heart / Like Burst */-.pv-heart{background:#08090c;display:grid;place-items:center;position:relative}-.pv-heart .h{font-size:40px;line-height:1;color:var(--accent);animation:heartpop 2.8s var(--ease) infinite}-.pv-heart .p{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--accent);opacity:0;animation:heartp 2.8s ease-out infinite}-.pv-heart .p:nth-child(2){--x:-28px;--y:-20px}-.pv-heart .p:nth-child(3){--x:26px;--y:-22px}-.pv-heart .p:nth-child(4){--x:-24px;--y:18px}-.pv-heart .p:nth-child(5){--x:24px;--y:20px}-.pv-heart .p:nth-child(6){--x:0px;--y:-30px}-.pv-heart .p:nth-child(7){--x:0px;--y:28px}-@keyframes heartpop{0%,28%{transform:scale(.72)}42%{transform:scale(1.25)}56%,100%{transform:scale(1)}}-@keyframes heartp{0%,30%{transform:translate(0,0);opacity:0}42%{opacity:1}100%{transform:translate(var(--x,0),var(--y,0));opacity:0}}-/* ripple: Click / Tap Ripple */-.pv-ripple{background:#0b0805;display:grid;place-items:center}-.pv-ripple .r{position:absolute;width:14%;height:22%;border-radius:50%;border:1.5px solid var(--accent);opacity:0;animation:rip 2.4s ease-out infinite}-.pv-ripple .r2{animation-delay:-.8s}-.pv-ripple .r3{animation-delay:-1.6s}-.pv-ripple .dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}-@keyframes rip{0%{transform:scale(.4);opacity:.9}100%{transform:scale(4.5);opacity:0}}/* hoverbtn: Hover State Animation */.pv-hoverbtn{background:#08090c;display:grid;place-items:center}.pv-hoverbtn .btn{padding:10px 22px;border-radius:6px;border:1px solid var(--accent);color:var(--accent);font-family:var(--text);font-size:12px;animation:m-hover 2.6s var(--ease) infinite}@@ -397,7 +365,7 @@ button{font:inherit;color:inherit}<main class="fx-page"><div class="fx-head">- <p class="pill">12 effects from well-known websites</p>+ <p class="pill">11 effects from well-known websites</p><h1 class="h1">Famous effects</h1><p class="fx-lede">Effects people admire on well-known websites, the handbook animations that make something similar, and a prompt to build your own.</p><p class="fx-legal">The Animation Handbook is not connected to any of these sites or their owners, and none of them has reviewed or approved this page. Each effect is described in our own words and shown only with the handbook's own demos.</p>@@ -409,8 +377,7 @@ button{font:inherit;color:inherit}<a href="#linear-intro">Linear · headline</a><a href="#apple-menu">Apple · menu</a><a href="#wikipedia-previews">Wikipedia · previews</a>- <a href="#chatgpt-reply">ChatGPT · reply</a>- <a href="#x-heart">X · heart</a>+ <a href="#apple-sweep">Apple · sweep</a><a href="#spotify-cards">Spotify · cards</a><a href="#youtube-loading">YouTube · loading</a><a href="#pudding-chart">The Pudding · chart</a>@@ -505,33 +472,17 @@ button{font:inherit;color:inherit}<button type="button" class="copy" aria-label="Copy prompt for Link previews"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="copy-l" aria-live="polite">Copy prompt</span></button></section>- <section class="fx" id="chatgpt-reply" aria-labelledby="chatgpt-reply-t" data-fx-site="ChatGPT" data-fx-start="load">- <p class="fx-seen">Seen on <a href="https://chatgpt.com/" target="_blank" rel="noopener">chatgpt.com<span class="sr"> (opens in a new tab)</span></a> in <time datetime="2026-10-14">2026</time></p>- <h2 id="chatgpt-reply-t" tabindex="-1">The answer that writes itself</h2>- <p class="fx-what">After you send a question, a small dot pulses until the reply starts; a model that works longer shows a short status word with a band of light sweeping across its letters. Then the answer arrives a few words at a time, as if typed live.</p>+ <section class="fx" id="apple-sweep" aria-labelledby="apple-sweep-t" data-fx-site="Apple" data-fx-start="scroll">+ <p class="fx-seen">Seen on <a href="https://www.apple.com/iphone-18-pro/" target="_blank" rel="noopener">apple.com/iphone-18-pro<span class="sr"> (opens in a new tab)</span></a> in <time datetime="2026-10-13">2026</time></p>+ <h2 id="apple-sweep-t" tabindex="-1">The color that sweeps across the headline</h2>+ <p class="fx-what">Far down the page, as the large headline of the section about the chip comes into view, a band of bright color sweeps across its letters once, from one end to the other, and the words settle into their plain color, as if a light had passed over them.</p><h3 class="fx-sub">Build it with these animations</h3><div class="fx-cards">- <article class="card c7" data-slug="breathing-glow"><div class="stage"><div class="pv" aria-hidden="true"></div><span class="tag">The waiting dot</span></div><div class="meta"><h4 class="title"><a href="../animations/07-ambient-background/breathing-glow/">Breathing / Pulsing Glow</a></h4><p class="desc">A soft glow slowly grows and shrinks, like calm breathing. Best for idle states.</p></div></article>- <article class="card c5" data-slug="text-gradient-animation"><div class="stage"><div class="pv" aria-hidden="true"></div><span class="tag">The shimmer</span></div><div class="meta"><h4 class="title"><a href="../animations/05-text-typography/text-gradient-animation/">Text Gradient Animation</a></h4><p class="desc">Colors flow through the letters while the text stays still. Best for headlines.</p></div></article>- <article class="card c2" data-slug="word-by-word-reveal"><div class="stage"><div class="pv" aria-hidden="true"></div><span class="tag">Words arriving</span></div><div class="meta"><h4 class="title"><a href="../animations/02-entrance-and-exit/word-by-word-reveal/">Word-by-Word Reveal</a></h4><p class="desc">Words appear one after another at a reading pace. Best for quotes and intros.</p></div></article>+ <article class="card c5" data-slug="text-gradient-animation"><div class="stage"><div class="pv" aria-hidden="true"></div><span class="tag">The color sweep</span></div><div class="meta"><h4 class="title"><a href="../animations/05-text-typography/text-gradient-animation/">Text Gradient Animation</a></h4><p class="desc">Colors flow through the letters while the text stays still. Best for headlines.</p></div></article></div><h3 class="fx-sub">A prompt to build something similar</h3>- <div class="fx-pbox"><p class="fx-prompt">Add a live reply to <mark>[the answer area of your chat or assistant]</mark>. While the reply is being prepared, show a small dot that slowly pulses; when the work takes longer, show a short status word with a soft band of light sweeping across its letters. When the answer starts, let it appear a few words at a time, each new group fading in at the end of the text, as if it were being written now. Keep finished lines where they are, and follow the newest words only while the reader has not scrolled away. Let screen readers hear the finished answer once. If the visitor has reduced motion turned on, keep the dot and the word still and show the words without fading.</p></div>- <button type="button" class="copy" aria-label="Copy prompt for The answer that writes itself"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="copy-l" aria-live="polite">Copy prompt</span></button>- </section>-- <section class="fx" id="x-heart" aria-labelledby="x-heart-t" data-fx-site="X" data-fx-start="press">- <p class="fx-seen">Seen on <a href="https://x.com/" target="_blank" rel="noopener">x.com<span class="sr"> (opens in a new tab)</span></a> in <time datetime="2026-10-14">2026</time></p>- <h2 id="x-heart-t" tabindex="-1">The heart that bursts</h2>- <p class="fx-what">Press the heart and it shrinks for an instant, pops back a little too big and settles in pink-⁠red, while a circle of color swells into a thin ring and small colored dots burst out and fade, all within about a second.</p>- <h3 class="fx-sub">Build it with these animations</h3>- <div class="fx-cards">- <article class="card c4" data-slug="heart-burst"><div class="stage"><div class="pv" aria-hidden="true"></div><span class="tag">Pop and dots</span></div><div class="meta"><h4 class="title"><a href="../animations/04-micro-interactions/heart-burst/">Heart / Like Burst</a></h4><p class="desc">The heart pops and fills as small hearts burst out. Best for like buttons.</p></div></article>- <article class="card c4" data-slug="click-ripple"><div class="stage"><div class="pv" aria-hidden="true"></div><span class="tag">The ring</span></div><div class="meta"><h4 class="title"><a href="../animations/04-micro-interactions/click-ripple/">Click / Tap Ripple</a></h4><p class="desc">A ripple spreads out from the spot you press. Best for buttons and list items.</p></div></article>- </div>- <h3 class="fx-sub">A prompt to build something similar</h3>- <div class="fx-pbox"><p class="fx-prompt">Add a like button with a burst to <mark>[the heart button on your posts]</mark>. When it is pressed, the heart shrinks for an instant, then pops back a little too big and settles as it fills with your own color, while a circle of color swells into a thin ring and small dots burst out from its center and fade. Unliking takes the color away with no burst. Keep it all under a second and draw it over the button, so nothing around it moves. A tap on a touch screen and Enter or Space on the keyboard work the same, and screen readers hear whether the post is liked. If the visitor has reduced motion turned on, only change the color.</p></div>- <button type="button" class="copy" aria-label="Copy prompt for The heart that bursts"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="copy-l" aria-live="polite">Copy prompt</span></button>+ <div class="fx-pbox"><p class="fx-prompt">Add a one-time color sweep to <mark>[the main headline of your section]</mark>. When the headline first comes into view, let a band of bright color travel across its letters once, from the start of the line to its end, and leave the text in its normal color. Paint the band as a gradient inside the letters and move only the gradient, so the words never shift or blur. Keep the sweep short, about a second, and never repeat it while the visitor reads. Keep the text readable before, during and after the sweep. Touch scrolling brings it into view the same way. If the visitor has reduced motion turned on, show the headline in its normal color with no sweep.</p></div>+ <button type="button" class="copy" aria-label="Copy prompt for The color that sweeps across the headline"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="copy-l" aria-live="polite">Copy prompt</span></button></section><section class="fx" id="spotify-cards" aria-labelledby="spotify-cards-t" data-fx-site="Spotify" data-fx-start="hover">@@ -644,11 +595,7 @@ const PREVIEWS={"glassmorphism-animated":{"pv":"glass","still":0.5,"markup":"<span class=\"blob g1 anim\"><\/span><span class=\"blob g2 anim\"><\/span><span class=\"gcard\"><\/span>"},"tooltip-reveal":{"pv":"tooltip","still":0.5,"markup":"<span class=\"tgt\"><\/span><span class=\"tip anim\">Info<\/span>"},"fade-in-out":{"pv":"fade","still":0.5,"markup":"<span class=\"sq anim\"><\/span>"},-"breathing-glow":{"pv":"glow","still":0.5,"markup":"<span class=\"core anim\"><\/span><span class=\"ring anim\"><\/span>"},"text-gradient-animation":{"pv":"gtext","still":0.5,"markup":"<span class=\"anim\">Aa<\/span>"},-"word-by-word-reveal":{"pv":"words","still":0.5,"markup":"<b class=\"anim\"><\/b><b class=\"anim\"><\/b><b class=\"anim\"><\/b>"},-"heart-burst":{"pv":"heart","still":0.5,"markup":"<span class=\"h anim\">♥<\/span><span class=\"p anim\"><\/span><span class=\"p anim\"><\/span><span class=\"p anim\"><\/span><span class=\"p anim\"><\/span><span class=\"p anim\"><\/span><span class=\"p anim\"><\/span>"},-"click-ripple":{"pv":"ripple","still":0.5,"markup":"<span class=\"r anim\"><\/span><span class=\"r r2 anim\"><\/span><span class=\"r r3 anim\"><\/span><span class=\"dot\"><\/span>"},"hover-state":{"pv":"hoverbtn","still":0.5,"markup":"<span class=\"btn anim\">Hover<\/span>"},"slide-in":{"pv":"slidein","still":0.5,"markup":"<span class=\"sq anim\"><\/span>"},"skeleton-loader":{"pv":"shimmer","still":0.5,"markup":"<span class=\"ln anim\"><\/span><span class=\"ln anim\"><\/span><span class=\"ln anim\"><\/span>"},diff --git a/tests/famous.test.js b/tests/famous.test.jsindex f4923aa5..da66930d 100644--- a/tests/famous.test.js+++ b/tests/famous.test.js@@ -385,8 +385,9 @@ const SITE_PHRASES = ['Music for everyone', 'Preview of Spotify', 'Your YouTube history is off', 'In pursuit of democracy', 'Each dot represents','Bright dots are ones', 'Keep scrolling or Skip to next', 'To make Medium work', 'Welcome to the mother chip', 'Pro further', 'A20 Pro'];-// The entries the live check covered, and the day it checked them (entries 7 and 8 get their day at the owner's review).-const CHECKED_IDS = ['stripe-ribbon', 'apple-scroll', 'landonorris-reveal', 'linear-intro', 'apple-menu', 'wikipedia-previews', 'spotify-cards', 'youtube-loading', 'pudding-chart', 'medium-top-bar'];+// The entries the live check covered, and the day it checked them. At the owner's review entry 7 gave its place to reserve R3+// (apple-sweep), which the check covered too, and entry 8 was left out, as no other reserve had passed.+const CHECKED_IDS = ['stripe-ribbon', 'apple-scroll', 'landonorris-reveal', 'linear-intro', 'apple-menu', 'wikipedia-previews', 'apple-sweep', 'spotify-cards', 'youtube-loading', 'pudding-chart', 'medium-top-bar'];const CHECKED_DAY = '2026-10-13';// The text a visitor reads, with each tag ending a word (textOf above joins the end of one element to the start of the next, so a