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
feat: the home page's footer links the Famous effects page (from disk, its index.html), and its links wrap on the narrowest phones
matin980fcffd51ee
diff --git a/index.html b/index.htmlindex 53e8a558..499b8cd8 100644--- a/index.html+++ b/index.html@@ -255,6 +255,7 @@ button,input{font:inherit;color:inherit}.fine{margin-top:32px;text-align:center;font-size:15px;color:var(--muted)}.foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding:36px 0 44px}.foot-t{font-size:15px;color:var(--muted)}+.foot .nav{flex-wrap:wrap} /* three links: on the narrowest phones the last one moves to a second line */.toast{position:fixed;z-index:60;left:50%;bottom:24px;display:flex;align-items:center;gap:10px;min-height:52px;width:max-content;max-width:calc(100% - 32px);padding:0 18px;border-radius:16px;background:var(--ink);color:var(--bg);font-size:15px;font-weight:600;box-shadow:0 12px 32px rgba(22,22,27,.28);opacity:0;transform:translate(-50%,16px);pointer-events:none;transition:opacity .25s,transform .25s var(--ease)}.toast.show{opacity:1;transform:translate(-50%,0)}.toast .ok{display:inline-grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:#1f9d57;color:#fff}@@ -1533,7 +1534,7 @@ button,input{font:inherit;color:inherit}<footer class="wrap foot"><a class="brand" href="./"><svg class="mark" viewBox="0 0 32 32" aria-hidden="true"><circle class="ring" cx="11.16" cy="20.84" r="6.1"/><circle class="ring" cx="15.12" cy="16.88" r="6.1"/><circle class="ring" cx="18.51" cy="13.49" r="6.1"/><circle class="ball" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><p class="foot-t">166 web animations with live demos and copyable prompts.</p>- <nav class="nav" aria-label="Footer"><a class="lnk" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener">GitHub</a><a class="lnk" href="#top">Back to top</a></nav>+ <nav class="nav" aria-label="Footer"><a class="lnk" href="famous/">Famous effects</a><a class="lnk" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener">GitHub</a><a class="lnk" href="#top">Back to top</a></nav></footer><div class="toast" id="toast" role="status" aria-live="polite"><span class="ok" aria-hidden="true"><svg class="i" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="toast-t"></span></div>@@ -2310,6 +2311,7 @@ const ICON_ARROW='<svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d=const FROM_DISK=location.protocol==='file:';const pageHref=url=>FROM_DISK?url+'index.html':url;if(FROM_DISK)document.querySelectorAll('a.brand').forEach(a=>a.setAttribute('href','index.html'));+if(FROM_DISK)document.querySelectorAll('a[href="famous/"]').forEach(a=>a.setAttribute('href','famous/index.html'));// A preview plays while its card is on screen (on phones, while the card is in the middle of the screen).const hoverCap=matchMedia('(hover:hover)').matches;diff --git a/tests/pages.test.js b/tests/pages.test.jsindex 93178a32..a8f7b680 100644--- a/tests/pages.test.js+++ b/tests/pages.test.js@@ -855,3 +855,15 @@ test('the home page keeps its GitHub button on phones as a round star, and leaveassert.ok(cssRules(between(css, '@media(min-width:601px) and (max-width:620px){', '}}') + '}').some(rule => rule.selector === '.top .nav .lnk'),'from 601px to 620px the two text links make room for it');});++// The Famous effects page (famous/) is reached from the home page's footer until the tab pass adds it to the top bar+// (docs/superpowers/specs/2026-10-13-famous-effects-design.md); opened from disk, the link names famous/index.html, as the+// cards name their pages' index.html. With three links the footer's row wraps on the narrowest phones.+test('the home page footer links the Famous effects page', () => {+ const footer = between(HOME, '<footer class="wrap foot">', '</footer>');+ assert.equal(count(footer, '<a class="lnk" href="famous/">Famous effects</a>'), 1, 'one Famous effects link in the footer');+ assert.ok(HOME.includes(`if(FROM_DISK)document.querySelectorAll('a[href="famous/"]').forEach(a=>a.setAttribute('href','famous/index.html'));`),+ 'opened from disk, the link opens famous/index.html');+ assert.ok(cssRules(between(HOME, '<style>', '</style>')).some(rule => rule.selector === '.foot .nav' && /(^|;)\s*flex-wrap:\s*wrap/.test(rule.body)),+ 'the footer links wrap on the narrowest phones');+});