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: a Star on GitHub link at the end of every animation page's top bar and a star row under its prompt card (shared files v=8)
matinbd788ee3e634
diff --git a/CLAUDE.md b/CLAUDE.mdindex 81f1e450..2eb650e3 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -50,8 +50,8 @@ The home page links `demo-page.js` too (its cards' Copy prompt builds the text w```**The page** (one centered column at every size; each part appears once):-1. **Top bar** (`nav.hb-bar`): the home link and Previous / Next links to the neighbors in the category- (`rel="prev"`, `rel="next"`; the first and last page have one).+1. **Top bar** (`nav.hb-bar`): the home link, Previous / Next links to the neighbors in the category+ (`rel="prev"`, `rel="next"`; the first and last page have one) and, last, the **Star on GitHub** link (`a.hb-star`).2. **Header** (`header.hb-head`): the category line `NN.MM · Category` (its place in the home page'sAll animations list), the `<h1>` and the one-line description (`p.hb-lede`) in plain words, ending"Best for …". That sentence is also the meta, Open Graph, Twitter and JSON-LD description, its card in the@@ -60,7 +60,8 @@ The home page links `demo-page.js` too (its cards' Copy prompt builds the text wstep title and help line are written per page.4. **2 · Try it** (`section.hb-try`): one to three settings, the rest under **More options**(`details.hb-options`). No settings: leave it out and number the steps 1 and 2.-5. **3 · Copy the prompt** (`section.hb-prompt-step`): prompt (`p.hb-prompt`), "Your settings" chips, **Copy prompt**.+5. **3 · Copy the prompt** (`section.hb-prompt-step`): prompt (`p.hb-prompt`), "Your settings" chips, **Copy prompt**;+ under the card, the star row (`div.hb-star-row`: a sentence and a **Star on GitHub** button).6. **About** (`section.hb-about`): **What it is** (from the README) beside **Good for** (3–5 tags) and**Avoid on** (1–3 tags); then **Similar animations** (`section.hb-related`) and the footer, the same on everypage (copy it from a neighbor):@@ -69,6 +70,8 @@ The home page links `demo-page.js` too (its cards' Copy prompt builds the text w<footer class="hb-foot"><span>Animation Handbook</span><a href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer">Source on GitHub</a><a href="#top">Back to top ↑</a></footer>```+The Star link and the star row are the same on every page too: copy them from a neighbor (a test compares them).+The page owns the stage's width, border, corners and height (`--hb-stage-h` and `--hb-stage-h-phone` setanother one); the demo owns overflow, background, alignment and perspective. `hb-dots` adds a dottedbackground to a plain dark stage; `hb-grow` lets a stage with visitor-editable text grow taller.diff --git a/animations/01-scroll-based/counter-animation/index.html b/animations/01-scroll-based/counter-animation/index.htmlindex e57239a8..1bd65f9c 100644--- a/animations/01-scroll-based/counter-animation/index.html+++ b/animations/01-scroll-based/counter-animation/index.html@@ -35,13 +35,14 @@.tile-num{font-size:min(clamp(28px,4.5vw,44px),26cqw);font-weight:700;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap;color:var(--ui-accent)}.tile-label{font-size:12px;color:#8a8a92;text-transform:uppercase;letter-spacing:1.5px}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../sticky-section/" rel="prev" aria-label="Previous: Sticky Section"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Sticky Section</span></a><a href="../progress-bar/" rel="next" aria-label="Next: Progress Bar"><span><span class="hb-dir">Next: </span>Progress Bar</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/cover-card-to-fixed-header/index.html b/animations/01-scroll-based/cover-card-to-fixed-header/index.htmlindex 89f1d33f..e84784be 100644--- a/animations/01-scroll-based/cover-card-to-fixed-header/index.html+++ b/animations/01-scroll-based/cover-card-to-fixed-header/index.html@@ -60,13 +60,14 @@@media(max-width:600px){:root{--cover-min:64px}}@media(prefers-reduced-motion:reduce){.cover,.cover-title,.cover-bg,.header-chip,.article-body{will-change:auto}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../reverse-scrolling-columns/" rel="prev" aria-label="Previous: Reverse-Scrolling Columns"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Reverse-Scrolling Columns</span></a><a href="../fly-in-fly-out-contact-list/" rel="next" aria-label="Next: Fly-in Fly-out Contact List"><span><span class="hb-dir">Next: </span>Fly-in Fly-out Contact List</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -162,6 +163,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/fly-in-fly-out-contact-list/index.html b/animations/01-scroll-based/fly-in-fly-out-contact-list/index.htmlindex d38cdf2e..6e421c01 100644--- a/animations/01-scroll-based/fly-in-fly-out-contact-list/index.html+++ b/animations/01-scroll-based/fly-in-fly-out-contact-list/index.html@@ -50,13 +50,14 @@@media(max-width:600px){.avatar{width:32px;height:32px;font-size:11px}}@media(prefers-reduced-motion:reduce){.row{will-change:auto}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The rows fade in and out but do not move"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../cover-card-to-fixed-header/" rel="prev" aria-label="Previous: Cover Card to Fixed Header"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Cover Card to Fixed Header</span></a><a href="../stacking-cards/" rel="next" aria-label="Next: Stacking Cards"><span><span class="hb-dir">Next: </span>Stacking Cards</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -153,6 +154,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/hide-on-scroll-header/index.html b/animations/01-scroll-based/hide-on-scroll-header/index.htmlindex 7e3f88dc..e1f35dc2 100644--- a/animations/01-scroll-based/hide-on-scroll-header/index.html+++ b/animations/01-scroll-based/hide-on-scroll-header/index.html@@ -61,13 +61,14 @@.stage.shrink .topbar.away{transform:translateY(-18px);opacity:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scroll-background-color/" rel="prev" aria-label="Previous: Scroll-Driven Background Color"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scroll-Driven Background Color</span></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -161,6 +162,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/horizontal-scroll/index.html b/animations/01-scroll-based/horizontal-scroll/index.htmlindex 081dd74b..8e5903d5 100644--- a/animations/01-scroll-based/horizontal-scroll/index.html+++ b/animations/01-scroll-based/horizontal-scroll/index.html@@ -39,13 +39,14 @@.panel-title{font-size:clamp(22px,2.4vw,32px);font-weight:700;line-height:1.2;margin-bottom:14px;color:var(--ac)}.panel-body{font-size:clamp(14px,1.2vw,16px);line-height:1.6;color:#d6d6da;max-width:480px}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../stagger-reveal/" rel="prev" aria-label="Previous: Stagger Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Stagger Reveal</span></a><a href="../sticky-section/" rel="next" aria-label="Next: Sticky Section"><span><span class="hb-dir">Next: </span>Sticky Section</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -116,6 +117,7 @@<p class="hb-hint">Replace the words in brackets with your own panels.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/parallax-depth-of-field/index.html b/animations/01-scroll-based/parallax-depth-of-field/index.htmlindex e61a0464..7ceeeaee 100644--- a/animations/01-scroll-based/parallax-depth-of-field/index.html+++ b/animations/01-scroll-based/parallax-depth-of-field/index.html@@ -35,13 +35,14 @@}@media(prefers-reduced-motion:reduce){.layer{will-change:auto}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The layers stay still and only the focus follows the scroll"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../parallax-scrolling/" rel="next" aria-label="Next: Parallax Scrolling"><span><span class="hb-dir">Next: </span>Parallax Scrolling</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -137,6 +138,7 @@<p class="hb-hint">Replace the words in brackets with your own scene.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/parallax-scrolling/index.html b/animations/01-scroll-based/parallax-scrolling/index.htmlindex ea045d28..8096972d 100644--- a/animations/01-scroll-based/parallax-scrolling/index.html+++ b/animations/01-scroll-based/parallax-scrolling/index.html@@ -36,13 +36,14 @@.layer svg{width:100%;height:100%}@media(prefers-reduced-motion:reduce){.layer{will-change:auto}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The layers stay still while the box scrolls"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../parallax-depth-of-field/" rel="prev" aria-label="Previous: Parallax Depth-of-Field"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Parallax Depth-of-Field</span></a><a href="../reverse-scrolling-columns/" rel="next" aria-label="Next: Reverse-Scrolling Columns"><span><span class="hb-dir">Next: </span>Reverse-Scrolling Columns</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -160,6 +161,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/pin-animation/index.html b/animations/01-scroll-based/pin-animation/index.htmlindex 8edbda02..397898ae 100644--- a/animations/01-scroll-based/pin-animation/index.html+++ b/animations/01-scroll-based/pin-animation/index.html@@ -44,13 +44,14 @@.outro p:not(.panel-title){font-size:14px;color:var(--ui-muted);max-width:300px;line-height:1.6}@media(max-width:600px){.pin-inner{gap:14px;padding:16px}.phone-wrap svg{width:72px;height:131px}#phone-icon{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scrub-animation/" rel="prev" aria-label="Previous: Scrub Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scrub Animation</span></a><a href="../snap-scrolling/" rel="next" aria-label="Next: Snap Scrolling"><span><span class="hb-dir">Next: </span>Snap Scrolling</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -114,6 +115,7 @@<p class="hb-hint">Replace the words in brackets with your own page and element.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/progress-bar/index.html b/animations/01-scroll-based/progress-bar/index.htmlindex 286dc6b9..ef410738 100644--- a/animations/01-scroll-based/progress-bar/index.html+++ b/animations/01-scroll-based/progress-bar/index.html@@ -49,13 +49,14 @@.art-pull{border-left:3px solid var(--bar-color);padding-left:16px;font-size:15px;line-height:1.6;margin:24px 0;color:#d6d6da}.art-h2{font-size:clamp(16px,2vw,20px);font-weight:700;margin:28px 0 12px}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../counter-animation/" rel="prev" aria-label="Previous: Counter Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Counter Animation</span></a><a href="../section-wipe/" rel="next" aria-label="Next: Section Wipe"><span><span class="hb-dir">Next: </span>Section Wipe</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -158,6 +159,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/reveal-on-scroll/index.html b/animations/01-scroll-based/reveal-on-scroll/index.htmlindex 4d32043d..5e7352fe 100644--- a/animations/01-scroll-based/reveal-on-scroll/index.html+++ b/animations/01-scroll-based/reveal-on-scroll/index.html@@ -64,13 +64,14 @@.scroller.resetting .card,.scroller.resetting .card .stagger-child{transition:none!important}@media(prefers-reduced-motion:reduce){.card,.card .stagger-child{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scrollytelling/" rel="prev" aria-label="Previous: Scrollytelling"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scrollytelling</span></a><a href="../stagger-reveal/" rel="next" aria-label="Next: Stagger Reveal"><span><span class="hb-dir">Next: </span>Stagger Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -134,6 +135,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/reverse-scrolling-columns/index.html b/animations/01-scroll-based/reverse-scrolling-columns/index.htmlindex df60585f..314fda40 100644--- a/animations/01-scroll-based/reverse-scrolling-columns/index.html+++ b/animations/01-scroll-based/reverse-scrolling-columns/index.html@@ -46,13 +46,14 @@@media(max-width:600px){.col-right{display:none}}@media(prefers-reduced-motion:reduce){.col-inner{will-change:auto}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The columns stay still while the box scrolls"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../parallax-scrolling/" rel="prev" aria-label="Previous: Parallax Scrolling"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Parallax Scrolling</span></a><a href="../cover-card-to-fixed-header/" rel="next" aria-label="Next: Cover Card to Fixed Header"><span><span class="hb-dir">Next: </span>Cover Card to Fixed Header</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -129,6 +130,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/scroll-background-color/index.html b/animations/01-scroll-based/scroll-background-color/index.htmlindex 6bb7f4b7..9f508d43 100644--- a/animations/01-scroll-based/scroll-background-color/index.html+++ b/animations/01-scroll-based/scroll-background-color/index.html@@ -34,13 +34,14 @@.num,.stage h3,.stage p{color:#fff}.stage.light .num,.stage.light h3,.stage.light p{color:#000}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scrollspy-nav/" rel="prev" aria-label="Previous: Scrollspy Navigation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scrollspy Navigation</span></a><a href="../hide-on-scroll-header/" rel="next" aria-label="Next: Hide-on-Scroll Header"><span><span class="hb-dir">Next: </span>Hide-on-Scroll Header</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -104,6 +105,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/scroll-image-sequence/index.html b/animations/01-scroll-based/scroll-image-sequence/index.htmlindex 4df0b7c3..8ea82cd9 100644--- a/animations/01-scroll-based/scroll-image-sequence/index.html+++ b/animations/01-scroll-based/scroll-image-sequence/index.html@@ -30,13 +30,14 @@.pin{position:sticky;top:0;height:100cqh}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../zoom-into-image/" rel="prev" aria-label="Previous: Zoom Into Image"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Zoom Into Image</span></a><a href="../smooth-scroll/" rel="next" aria-label="Next: Smooth (Inertia) Scroll"><span><span class="hb-dir">Next: </span>Smooth (Inertia) Scroll</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -95,6 +96,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/scroll-trigger/index.html b/animations/01-scroll-based/scroll-trigger/index.htmlindex 8a447676..4eaf30d4 100644--- a/animations/01-scroll-based/scroll-trigger/index.html+++ b/animations/01-scroll-based/scroll-trigger/index.html@@ -59,13 +59,14 @@.dot{width:10px;height:10px;border-radius:50%;background:var(--ui-border);transition:background .2s,transform .2s}.dot.lit{background:#f85149;transform:scale(1.5)}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../stacking-cards/" rel="prev" aria-label="Previous: Stacking Cards"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Stacking Cards</span></a><a href="../scrub-animation/" rel="next" aria-label="Next: Scrub Animation"><span><span class="hb-dir">Next: </span>Scrub Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -135,6 +136,7 @@<p class="hb-hint">Replace the words in brackets with your own sections.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/scroll-velocity-skew/index.html b/animations/01-scroll-based/scroll-velocity-skew/index.htmlindex 1d14e37b..26af2128 100644--- a/animations/01-scroll-based/scroll-velocity-skew/index.html+++ b/animations/01-scroll-based/scroll-velocity-skew/index.html@@ -34,13 +34,14 @@.m-line{height:7px;border-radius:4px;background:rgba(255,255,255,.08);margin-top:6px}.m-line.short{width:62%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The rows stay straight however fast the box scrolls"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../text-fill-on-scroll/" rel="prev" aria-label="Previous: Text Fill on Scroll"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Text Fill on Scroll</span></a><a href="../svg-line-draw/" rel="next" aria-label="Next: SVG Line Draw on Scroll"><span><span class="hb-dir">Next: </span>SVG Line Draw on Scroll</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -128,6 +129,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/scrollspy-nav/index.html b/animations/01-scroll-based/scrollspy-nav/index.htmlindex 62837324..23a21bcb 100644--- a/animations/01-scroll-based/scrollspy-nav/index.html+++ b/animations/01-scroll-based/scrollspy-nav/index.html@@ -52,13 +52,14 @@}@media(prefers-reduced-motion:reduce){.spy-ind,.spy-link{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../svg-line-draw/" rel="prev" aria-label="Previous: SVG Line Draw on Scroll"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>SVG Line Draw on Scroll</span></a><a href="../scroll-background-color/" rel="next" aria-label="Next: Scroll-Driven Background Color"><span><span class="hb-dir">Next: </span>Scroll-Driven Background Color</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -123,6 +124,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/scrollytelling/index.html b/animations/01-scroll-based/scrollytelling/index.htmlindex f7b91fba..fbbaba40 100644--- a/animations/01-scroll-based/scrollytelling/index.html+++ b/animations/01-scroll-based/scrollytelling/index.html@@ -47,13 +47,14 @@.chapters{padding:12px 16px}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../snap-scrolling/" rel="prev" aria-label="Previous: Snap Scrolling"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Snap Scrolling</span></a><a href="../reveal-on-scroll/" rel="next" aria-label="Next: Reveal on Scroll"><span><span class="hb-dir">Next: </span>Reveal on Scroll</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -96,6 +97,7 @@<p class="hb-hint">Replace the words in brackets with your own story and picture.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/scrub-animation/index.html b/animations/01-scroll-based/scrub-animation/index.htmlindex b0b39cb7..ef995d8b 100644--- a/animations/01-scroll-based/scrub-animation/index.html+++ b/animations/01-scroll-based/scrub-animation/index.html@@ -59,13 +59,14 @@.ticks{display:flex;justify-content:space-between;margin-top:6px;font-size:11px;color:var(--ui-muted)}@media(prefers-reduced-motion:reduce){.halo{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scroll-trigger/" rel="prev" aria-label="Previous: Scroll-Triggered Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scroll-Triggered Animation</span></a><a href="../pin-animation/" rel="next" aria-label="Next: Pin Animation"><span><span class="hb-dir">Next: </span>Pin Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -151,6 +152,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/section-wipe/index.html b/animations/01-scroll-based/section-wipe/index.htmlindex bb45337b..d1e8f509 100644--- a/animations/01-scroll-based/section-wipe/index.html+++ b/animations/01-scroll-based/section-wipe/index.html@@ -36,13 +36,14 @@.end-spacer{height:80cqh}@media(prefers-reduced-motion:reduce){.sec-content{will-change:auto}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The sections stack without shrinking"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../progress-bar/" rel="prev" aria-label="Previous: Progress Bar"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Progress Bar</span></a><a href="../zoom-into-image/" rel="next" aria-label="Next: Zoom Into Image"><span><span class="hb-dir">Next: </span>Zoom Into Image</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -141,6 +142,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/smooth-scroll/index.html b/animations/01-scroll-based/smooth-scroll/index.htmlindex 83976591..a0b7ee5e 100644--- a/animations/01-scroll-based/smooth-scroll/index.html+++ b/animations/01-scroll-based/smooth-scroll/index.html@@ -45,13 +45,14 @@label.hb-switch-row:has(input:disabled){opacity:.45;cursor:not-allowed}label.hb-switch-row:has(input:disabled) .hb-switch{cursor:not-allowed}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scroll-image-sequence/" rel="prev" aria-label="Previous: Scroll Image Sequence"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scroll Image Sequence</span></a><a href="../text-fill-on-scroll/" rel="next" aria-label="Next: Text Fill on Scroll"><span><span class="hb-dir">Next: </span>Text Fill on Scroll</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -123,6 +124,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/snap-scrolling/index.html b/animations/01-scroll-based/snap-scrolling/index.htmlindex 94b0fe68..2ffab5d4 100644--- a/animations/01-scroll-based/snap-scrolling/index.html+++ b/animations/01-scroll-based/snap-scrolling/index.html@@ -49,13 +49,14 @@/* Reduced motion: no smooth-scroll animation, no dot tweening */@media(prefers-reduced-motion:reduce){.scroller{scroll-behavior:auto!important}.dot::before{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../pin-animation/" rel="prev" aria-label="Previous: Pin Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Pin Animation</span></a><a href="../scrollytelling/" rel="next" aria-label="Next: Scrollytelling"><span><span class="hb-dir">Next: </span>Scrollytelling</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -112,6 +113,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/stacking-cards/index.html b/animations/01-scroll-based/stacking-cards/index.htmlindex 9b48f8e7..20995491 100644--- a/animations/01-scroll-based/stacking-cards/index.html+++ b/animations/01-scroll-based/stacking-cards/index.html@@ -87,13 +87,14 @@@media(max-width:600px){.card__content{grid-template-columns:1fr;grid-template-rows:1fr}.card__visual{display:none}.card__text{gap:6px}}@media(prefers-reduced-motion:reduce){.card__content{animation:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The cards stack without shrinking"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../fly-in-fly-out-contact-list/" rel="prev" aria-label="Previous: Fly-in Fly-out Contact List"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Fly-in Fly-out Contact List</span></a><a href="../scroll-trigger/" rel="next" aria-label="Next: Scroll-Triggered Animation"><span><span class="hb-dir">Next: </span>Scroll-Triggered Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -175,6 +176,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/stagger-reveal/index.html b/animations/01-scroll-based/stagger-reveal/index.htmlindex 7c242e63..24738d24 100644--- a/animations/01-scroll-based/stagger-reveal/index.html+++ b/animations/01-scroll-based/stagger-reveal/index.html@@ -48,13 +48,14 @@@media(max-width:600px){.grid{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){.item{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../reveal-on-scroll/" rel="prev" aria-label="Previous: Reveal on Scroll"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Reveal on Scroll</span></a><a href="../horizontal-scroll/" rel="next" aria-label="Next: Horizontal Scroll"><span><span class="hb-dir">Next: </span>Horizontal Scroll</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/sticky-section/index.html b/animations/01-scroll-based/sticky-section/index.htmlindex f0523ea1..145c9e5b 100644--- a/animations/01-scroll-based/sticky-section/index.html+++ b/animations/01-scroll-based/sticky-section/index.html@@ -46,13 +46,14 @@@media(max-width:600px){#sticky-inner{grid-template-columns:1fr}#vis-col{display:none}}@media(prefers-reduced-motion:reduce){.state,.illus{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../horizontal-scroll/" rel="prev" aria-label="Previous: Horizontal Scroll"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Horizontal Scroll</span></a><a href="../counter-animation/" rel="next" aria-label="Next: Counter Animation"><span><span class="hb-dir">Next: </span>Counter Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -155,6 +156,7 @@<p class="hb-hint">Replace the words in brackets with your own steps.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/svg-line-draw/index.html b/animations/01-scroll-based/svg-line-draw/index.htmlindex fdd4d36d..65edbe4c 100644--- a/animations/01-scroll-based/svg-line-draw/index.html+++ b/animations/01-scroll-based/svg-line-draw/index.html@@ -46,13 +46,14 @@.no-wps #wps{display:none}@media(prefers-reduced-motion:reduce){.pop{transition:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scroll-velocity-skew/" rel="prev" aria-label="Previous: Scroll Velocity Skew"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scroll Velocity Skew</span></a><a href="../scrollspy-nav/" rel="next" aria-label="Next: Scrollspy Navigation"><span><span class="hb-dir">Next: </span>Scrollspy Navigation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -140,6 +141,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/text-fill-on-scroll/index.html b/animations/01-scroll-based/text-fill-on-scroll/index.htmlindex a27a3568..b00badbe 100644--- a/animations/01-scroll-based/text-fill-on-scroll/index.html+++ b/animations/01-scroll-based/text-fill-on-scroll/index.html@@ -36,13 +36,14 @@.fill-text.jump .w{transition:none}@media(prefers-reduced-motion:reduce){.fill-text .w{transition:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../smooth-scroll/" rel="prev" aria-label="Previous: Smooth (Inertia) Scroll"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Smooth (Inertia) Scroll</span></a><a href="../scroll-velocity-skew/" rel="next" aria-label="Next: Scroll Velocity Skew"><span><span class="hb-dir">Next: </span>Scroll Velocity Skew</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -121,6 +122,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/01-scroll-based/zoom-into-image/index.html b/animations/01-scroll-based/zoom-into-image/index.htmlindex 4dcce1a6..61964670 100644--- a/animations/01-scroll-based/zoom-into-image/index.html+++ b/animations/01-scroll-based/zoom-into-image/index.html@@ -40,13 +40,14 @@#caption .cap-sub{font-size:11px;opacity:.6;margin-top:6px;letter-spacing:2px;text-transform:uppercase}@media(prefers-reduced-motion:reduce){#zoom-img{clip-path:inset(0% round 0px)!important}#caption{opacity:1!important}.frame-border{opacity:0!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay data-hb-motion-note="The picture shows whole, with its caption, without zooming in"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../section-wipe/" rel="prev" aria-label="Previous: Section Wipe"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Section Wipe</span></a><a href="../scroll-image-sequence/" rel="next" aria-label="Next: Scroll Image Sequence"><span><span class="hb-dir">Next: </span>Scroll Image Sequence</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -179,6 +180,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/blur-in/index.html b/animations/02-entrance-and-exit/blur-in/index.htmlindex 4584b54a..6bce58e5 100644--- a/animations/02-entrance-and-exit/blur-in/index.html+++ b/animations/02-entrance-and-exit/blur-in/index.html@@ -38,13 +38,14 @@.card[data-mode="fade-only"].in{opacity:1}@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important;filter:none!important;transform:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../word-by-word-reveal/" rel="prev" aria-label="Previous: Word-by-Word Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Word-by-Word Reveal</span></a><a href="../flip-in/" rel="next" aria-label="Next: Flip In"><span><span class="hb-dir">Next: </span>Flip In</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -142,6 +143,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/bounce-in/index.html b/animations/02-entrance-and-exit/bounce-in/index.htmlindex f506b118..5b76d11c 100644--- a/animations/02-entrance-and-exit/bounce-in/index.html+++ b/animations/02-entrance-and-exit/bounce-in/index.html@@ -35,13 +35,14 @@@media(prefers-reduced-motion:reduce){.card.in{animation:none!important;opacity:1;transform:none}.card.out{animation:none!important;opacity:0}}</style><style id="kf-style"></style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../flip-in/" rel="prev" aria-label="Previous: Flip In"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Flip In</span></a><a href="../rotate-in/" rel="next" aria-label="Next: Rotate In"><span><span class="hb-dir">Next: </span>Rotate In</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -130,6 +131,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/clip-path-reveal/index.html b/animations/02-entrance-and-exit/clip-path-reveal/index.htmlindex 38589095..842fc01b 100644--- a/animations/02-entrance-and-exit/clip-path-reveal/index.html+++ b/animations/02-entrance-and-exit/clip-path-reveal/index.html@@ -34,13 +34,14 @@.surface-title{font-size:clamp(22px,4vw,36px);font-weight:bold}@media(prefers-reduced-motion:reduce){.surface{opacity:0;transition:opacity 400ms linear!important;clip-path:none!important}.surface.in{opacity:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scale-in/" rel="prev" aria-label="Previous: Scale In / Zoom In"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scale In / Zoom In</span></a><a href="../curtain-reveal/" rel="next" aria-label="Next: Curtain Reveal"><span><span class="hb-dir">Next: </span>Curtain Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -138,6 +139,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/curtain-reveal/index.html b/animations/02-entrance-and-exit/curtain-reveal/index.htmlindex 7bf11a9a..b02eba35 100644--- a/animations/02-entrance-and-exit/curtain-reveal/index.html+++ b/animations/02-entrance-and-exit/curtain-reveal/index.html@@ -38,13 +38,14 @@.curtain.c-out,.curtain-b.c-out{transform:var(--to)}@media(prefers-reduced-motion:reduce){.curtain,.curtain-b{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../clip-path-reveal/" rel="prev" aria-label="Previous: Clip-Path Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Clip-Path Reveal</span></a><a href="../split-text-reveal/" rel="next" aria-label="Next: Split Text Reveal"><span><span class="hb-dir">Next: </span>Split Text Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -144,6 +145,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/fade-in-out/index.html b/animations/02-entrance-and-exit/fade-in-out/index.htmlindex 36f97630..dd1cf19a 100644--- a/animations/02-entrance-and-exit/fade-in-out/index.html+++ b/animations/02-entrance-and-exit/fade-in-out/index.html@@ -32,13 +32,14 @@.card-sub{font-size:11px;color:var(--ui-muted);line-height:1.65}@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../slide-in/" rel="next" aria-label="Next: Slide In"><span><span class="hb-dir">Next: </span>Slide In</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -109,6 +110,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/flip-in/index.html b/animations/02-entrance-and-exit/flip-in/index.htmlindex c5bc2441..1270c185 100644--- a/animations/02-entrance-and-exit/flip-in/index.html+++ b/animations/02-entrance-and-exit/flip-in/index.html@@ -33,13 +33,14 @@.card-sub{font-size:11px;color:var(--ui-muted);line-height:1.65}@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important;transform:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../blur-in/" rel="prev" aria-label="Previous: Blur In"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Blur In</span></a><a href="../bounce-in/" rel="next" aria-label="Next: Bounce In"><span><span class="hb-dir">Next: </span>Bounce In</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -157,6 +158,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/letter-by-letter-stagger/index.html b/animations/02-entrance-and-exit/letter-by-letter-stagger/index.htmlindex 757d04ff..fa6f69e8 100644--- a/animations/02-entrance-and-exit/letter-by-letter-stagger/index.html+++ b/animations/02-entrance-and-exit/letter-by-letter-stagger/index.html@@ -41,13 +41,14 @@@keyframes blink{0%,50%{opacity:1}51%,100%{opacity:0}}@media(prefers-reduced-motion:reduce){.char{transition:none!important;opacity:1!important;transform:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../split-text-reveal/" rel="prev" aria-label="Previous: Split Text Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Split Text Reveal</span></a><a href="../word-by-word-reveal/" rel="next" aria-label="Next: Word-by-Word Reveal"><span><span class="hb-dir">Next: </span>Word-by-Word Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -146,6 +147,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/rotate-in/index.html b/animations/02-entrance-and-exit/rotate-in/index.htmlindex c58442e4..c0d2c43d 100644--- a/animations/02-entrance-and-exit/rotate-in/index.html+++ b/animations/02-entrance-and-exit/rotate-in/index.html@@ -31,13 +31,14 @@.icon svg{width:100%;height:100%}@media(prefers-reduced-motion:reduce){.icon{transition:opacity 300ms linear!important;transform:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../bounce-in/" rel="prev" aria-label="Previous: Bounce In"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Bounce In</span></a><a href="../shatter-effect/" rel="next" aria-label="Next: Shatter Effect"><span><span class="hb-dir">Next: </span>Shatter Effect</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -135,6 +136,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/scale-in/index.html b/animations/02-entrance-and-exit/scale-in/index.htmlindex 8d1fe9f3..4b8556f6 100644--- a/animations/02-entrance-and-exit/scale-in/index.html+++ b/animations/02-entrance-and-exit/scale-in/index.html@@ -33,13 +33,14 @@.card-sub{font-size:11px;color:var(--ui-muted);line-height:1.65}@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important;transform:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../slide-up-reveal/" rel="prev" aria-label="Previous: Slide Up Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Slide Up Reveal</span></a><a href="../clip-path-reveal/" rel="next" aria-label="Next: Clip-Path Reveal"><span><span class="hb-dir">Next: </span>Clip-Path Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -139,6 +140,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/shatter-effect/index.html b/animations/02-entrance-and-exit/shatter-effect/index.htmlindex 2cf4bce1..57af6657 100644--- a/animations/02-entrance-and-exit/shatter-effect/index.html+++ b/animations/02-entrance-and-exit/shatter-effect/index.html@@ -44,13 +44,14 @@.shards{position:absolute;z-index:1;inset:0;perspective:900px;pointer-events:none}.shard{position:absolute;contain:layout paint;will-change:transform,opacity}.shard .card{position:absolute;box-shadow:none}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../rotate-in/" rel="prev" aria-label="Previous: Rotate In"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Rotate In</span></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -155,6 +156,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/slide-in/index.html b/animations/02-entrance-and-exit/slide-in/index.htmlindex 51964ad0..c21e56a7 100644--- a/animations/02-entrance-and-exit/slide-in/index.html+++ b/animations/02-entrance-and-exit/slide-in/index.html@@ -33,13 +33,14 @@.card-sub{font-size:11px;color:var(--ui-muted);line-height:1.65}@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../fade-in-out/" rel="prev" aria-label="Previous: Fade In / Fade Out"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Fade In / Fade Out</span></a><a href="../slide-up-reveal/" rel="next" aria-label="Next: Slide Up Reveal"><span><span class="hb-dir">Next: </span>Slide Up Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -139,6 +140,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/slide-up-reveal/index.html b/animations/02-entrance-and-exit/slide-up-reveal/index.htmlindex 74c763fa..b60e549d 100644--- a/animations/02-entrance-and-exit/slide-up-reveal/index.html+++ b/animations/02-entrance-and-exit/slide-up-reveal/index.html@@ -33,13 +33,14 @@.sub-line{font-size:clamp(13px,2vw,16px);color:var(--ui-muted);text-align:center}@media(prefers-reduced-motion:reduce){.line{opacity:0;transition:opacity 300ms linear!important;transform:none!important;clip-path:none!important} .line.in{opacity:1!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../slide-in/" rel="prev" aria-label="Previous: Slide In"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Slide In</span></a><a href="../scale-in/" rel="next" aria-label="Next: Scale In / Zoom In"><span><span class="hb-dir">Next: </span>Scale In / Zoom In</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/split-text-reveal/index.html b/animations/02-entrance-and-exit/split-text-reveal/index.htmlindex 39fa549a..d6dd9909 100644--- a/animations/02-entrance-and-exit/split-text-reveal/index.html+++ b/animations/02-entrance-and-exit/split-text-reveal/index.html@@ -45,13 +45,14 @@[data-mode="chars"] .unit{margin-right:0.01em}@media(prefers-reduced-motion:reduce){.unit,.unit-inner{transition:opacity 300ms linear!important;transform:none!important}[data-mode="lines"] .unit{opacity:0}.splitting.in .unit{opacity:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../curtain-reveal/" rel="prev" aria-label="Previous: Curtain Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Curtain Reveal</span></a><a href="../letter-by-letter-stagger/" rel="next" aria-label="Next: Letter-by-Letter Stagger"><span><span class="hb-dir">Next: </span>Letter-by-Letter Stagger</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -156,6 +157,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/02-entrance-and-exit/word-by-word-reveal/index.html b/animations/02-entrance-and-exit/word-by-word-reveal/index.htmlindex 61ad5d61..53ef4746 100644--- a/animations/02-entrance-and-exit/word-by-word-reveal/index.html+++ b/animations/02-entrance-and-exit/word-by-word-reveal/index.html@@ -36,13 +36,14 @@.sent-break{display:block;height:0.4em}@media(prefers-reduced-motion:reduce){.word{transition:opacity 300ms linear!important;transform:none!important;filter:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../letter-by-letter-stagger/" rel="prev" aria-label="Previous: Letter-by-Letter Stagger"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Letter-by-Letter Stagger</span></a><a href="../blur-in/" rel="next" aria-label="Next: Blur In"><span><span class="hb-dir">Next: </span>Blur In</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -145,6 +146,7 @@ Software made with care.</textarea><p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/blur-transition/index.html b/animations/03-page-transitions/blur-transition/index.htmlindex 8b4b835f..7ecc1ef3 100644--- a/animations/03-page-transitions/blur-transition/index.html+++ b/animations/03-page-transitions/blur-transition/index.html@@ -45,13 +45,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){.page{transition:none!important;filter:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../flash-transition/" rel="prev" aria-label="Previous: Flash / Light Leak Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Flash / Light Leak Transition</span></a><a href="../elastic-transition/" rel="next" aria-label="Next: Elastic Transition"><span><span class="hb-dir">Next: </span>Elastic Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -141,6 +142,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/circle-reveal/index.html b/animations/03-page-transitions/circle-reveal/index.htmlindex 62663e78..aea5c009 100644--- a/animations/03-page-transitions/circle-reveal/index.html+++ b/animations/03-page-transitions/circle-reveal/index.html@@ -50,13 +50,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){.tap{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../flip-technique/" rel="prev" aria-label="Previous: FLIP Technique"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>FLIP Technique</span></a><a href="../overlay-wipe/" rel="next" aria-label="Next: Overlay Wipe"><span><span class="hb-dir">Next: </span>Overlay Wipe</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -134,6 +135,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/crossfade/index.html b/animations/03-page-transitions/crossfade/index.htmlindex 6dc5ec6a..42bc38ac 100644--- a/animations/03-page-transitions/crossfade/index.html+++ b/animations/03-page-transitions/crossfade/index.html@@ -45,13 +45,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){.page{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../morph-transition/" rel="prev" aria-label="Previous: Morph Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Morph Transition</span></a><a href="../slide-transition/" rel="next" aria-label="Next: Slide Transition"><span><span class="hb-dir">Next: </span>Slide Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/cube-transition/index.html b/animations/03-page-transitions/cube-transition/index.htmlindex 032107ef..6d11c39f 100644--- a/animations/03-page-transitions/cube-transition/index.html+++ b/animations/03-page-transitions/cube-transition/index.html@@ -47,13 +47,14 @@/* Short windows leave the page area under 220px: tighter spacing keeps the tallest page inside it with room to spare */@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../page-curl/" rel="prev" aria-label="Previous: Page Curl"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Page Curl</span></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -129,6 +130,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/dissolve/index.html b/animations/03-page-transitions/dissolve/index.htmlindex 0c9b83c5..ba2d4e3f 100644--- a/animations/03-page-transitions/dissolve/index.html+++ b/animations/03-page-transitions/dissolve/index.html@@ -47,13 +47,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){.page{transition:opacity 300ms linear}.dtile{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../portal-zoom/" rel="prev" aria-label="Previous: Portal / Tunnel Zoom"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Portal / Tunnel Zoom</span></a><a href="../flip-technique/" rel="next" aria-label="Next: FLIP Technique"><span><span class="hb-dir">Next: </span>FLIP Technique</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -141,6 +142,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/elastic-transition/index.html b/animations/03-page-transitions/elastic-transition/index.htmlindex 60ab5448..2091f094 100644--- a/animations/03-page-transitions/elastic-transition/index.html+++ b/animations/03-page-transitions/elastic-transition/index.html@@ -45,13 +45,14 @@@media(prefers-reduced-motion:reduce){.page{transition:none!important;animation:none!important}}</style><style id="kf-style"></style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../blur-transition/" rel="prev" aria-label="Previous: Blur Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Blur Transition</span></a><a href="../portal-zoom/" rel="next" aria-label="Next: Portal / Tunnel Zoom"><span><span class="hb-dir">Next: </span>Portal / Tunnel Zoom</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -127,6 +128,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/flash-transition/index.html b/animations/03-page-transitions/flash-transition/index.htmlindex 0e75f85d..15949595 100644--- a/animations/03-page-transitions/flash-transition/index.html+++ b/animations/03-page-transitions/flash-transition/index.html@@ -48,13 +48,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}.pp{line-height:1.5}.pgrid,.pstat{margin-top:0}}@media(prefers-reduced-motion:reduce){#flash-overlay{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../zoom-transition/" rel="prev" aria-label="Previous: Zoom Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Zoom Transition</span></a><a href="../blur-transition/" rel="next" aria-label="Next: Blur Transition"><span><span class="hb-dir">Next: </span>Blur Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -143,6 +144,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/flip-technique/index.html b/animations/03-page-transitions/flip-technique/index.htmlindex be190a81..51d15137 100644--- a/animations/03-page-transitions/flip-technique/index.html+++ b/animations/03-page-transitions/flip-technique/index.html@@ -52,13 +52,14 @@.card-meta{font-size:10px;opacity:.8}@media(prefers-reduced-motion:reduce){.flip-card{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../dissolve/" rel="prev" aria-label="Previous: Dissolve Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Dissolve Transition</span></a><a href="../circle-reveal/" rel="next" aria-label="Next: Circle Reveal"><span><span class="hb-dir">Next: </span>Circle Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -135,6 +136,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/morph-transition/index.html b/animations/03-page-transitions/morph-transition/index.htmlindex 2f8c46d3..cb6da031 100644--- a/animations/03-page-transitions/morph-transition/index.html+++ b/animations/03-page-transitions/morph-transition/index.html@@ -47,13 +47,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){.page{transition:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../shared-element-transition/" rel="prev" aria-label="Previous: Shared Element Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Shared Element Transition</span></a><a href="../crossfade/" rel="next" aria-label="Next: Crossfade Transition"><span><span class="hb-dir">Next: </span>Crossfade Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -127,6 +128,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/overlay-wipe/index.html b/animations/03-page-transitions/overlay-wipe/index.htmlindex d06e8bb9..f744fd08 100644--- a/animations/03-page-transitions/overlay-wipe/index.html+++ b/animations/03-page-transitions/overlay-wipe/index.html@@ -51,13 +51,14 @@/* Short windows leave the page area under 220px: tighter spacing keeps the tallest page inside it with room to spare */@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../circle-reveal/" rel="prev" aria-label="Previous: Circle Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Circle Reveal</span></a><a href="../page-curl/" rel="next" aria-label="Next: Page Curl"><span><span class="hb-dir">Next: </span>Page Curl</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -147,6 +148,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/page-curl/index.html b/animations/03-page-transitions/page-curl/index.htmlindex db6375e8..89076240 100644--- a/animations/03-page-transitions/page-curl/index.html+++ b/animations/03-page-transitions/page-curl/index.html@@ -46,13 +46,14 @@/* Short windows leave the page area under 220px: tighter spacing keeps the tallest page inside it with room to spare */@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../overlay-wipe/" rel="prev" aria-label="Previous: Overlay Wipe"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Overlay Wipe</span></a><a href="../cube-transition/" rel="next" aria-label="Next: Cube Transition"><span><span class="hb-dir">Next: </span>Cube Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -129,6 +130,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/portal-zoom/index.html b/animations/03-page-transitions/portal-zoom/index.htmlindex acc1ba02..f484618e 100644--- a/animations/03-page-transitions/portal-zoom/index.html+++ b/animations/03-page-transitions/portal-zoom/index.html@@ -54,13 +54,14 @@@media(max-height:640px) and (min-width:601px){.portal{top:8px}}@media(prefers-reduced-motion:reduce){.portal{transition:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../elastic-transition/" rel="prev" aria-label="Previous: Elastic Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Elastic Transition</span></a><a href="../dissolve/" rel="next" aria-label="Next: Dissolve Transition"><span><span class="hb-dir">Next: </span>Dissolve Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -142,6 +143,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/shared-element-transition/index.html b/animations/03-page-transitions/shared-element-transition/index.htmlindex 9324b0b8..49d36e60 100644--- a/animations/03-page-transitions/shared-element-transition/index.html+++ b/animations/03-page-transitions/shared-element-transition/index.html@@ -52,13 +52,14 @@#flip-el{position:fixed;border-radius:10px;pointer-events:none;z-index:40;will-change:transform}@media(prefers-reduced-motion:reduce){#flip-el{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../view-transitions-api/" rel="prev" aria-label="Previous: View Transitions API"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>View Transitions API</span></a><a href="../morph-transition/" rel="next" aria-label="Next: Morph Transition"><span><span class="hb-dir">Next: </span>Morph Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -139,6 +140,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/slide-transition/index.html b/animations/03-page-transitions/slide-transition/index.htmlindex 19185f92..028ff27f 100644--- a/animations/03-page-transitions/slide-transition/index.html+++ b/animations/03-page-transitions/slide-transition/index.html@@ -45,13 +45,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){.page{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../crossfade/" rel="prev" aria-label="Previous: Crossfade Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Crossfade Transition</span></a><a href="../zoom-transition/" rel="next" aria-label="Next: Zoom Transition"><span><span class="hb-dir">Next: </span>Zoom Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -143,6 +144,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/view-transitions-api/index.html b/animations/03-page-transitions/view-transitions-api/index.htmlindex 9a20f6e8..3af7097e 100644--- a/animations/03-page-transitions/view-transitions-api/index.html+++ b/animations/03-page-transitions/view-transitions-api/index.html@@ -74,13 +74,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){::view-transition-old(page-content),::view-transition-new(page-content){animation:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../shared-element-transition/" rel="next" aria-label="Next: Shared Element Transition"><span><span class="hb-dir">Next: </span>Shared Element Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -163,6 +164,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/03-page-transitions/zoom-transition/index.html b/animations/03-page-transitions/zoom-transition/index.htmlindex 633b0d31..ca3be005 100644--- a/animations/03-page-transitions/zoom-transition/index.html+++ b/animations/03-page-transitions/zoom-transition/index.html@@ -45,13 +45,14 @@@media(max-height:640px){.pc{gap:8px}.gi{padding:12px}}@media(prefers-reduced-motion:reduce){.page{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../slide-transition/" rel="prev" aria-label="Previous: Slide Transition"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Slide Transition</span></a><a href="../flash-transition/" rel="next" aria-label="Next: Flash / Light Leak Transition"><span><span class="hb-dir">Next: </span>Flash / Light Leak Transition</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -133,6 +134,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/accordion/index.html b/animations/04-micro-interactions/accordion/index.htmlindex b491cd3a..15fc02e0 100644--- a/animations/04-micro-interactions/accordion/index.html+++ b/animations/04-micro-interactions/accordion/index.html@@ -55,13 +55,14 @@@media(min-width:601px) and (max-height:645px){.stage{padding:8px 12px}.acc-list{gap:2px}.acc-trigger{min-height:44px}}@media(prefers-reduced-motion:reduce){.acc-body,.acc-chevron,.acc-body.stagger .acc-inner>*{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../modal-expand/" rel="prev" aria-label="Previous: Modal Expand"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Modal Expand</span></a><a href="../cursor-follower/" rel="next" aria-label="Next: Cursor Follower"><span><span class="hb-dir">Next: </span>Cursor Follower</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -183,6 +184,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/add-to-cart-fly/index.html b/animations/04-micro-interactions/add-to-cart-fly/index.htmlindex 9ec4c7e9..1646e71e 100644--- a/animations/04-micro-interactions/add-to-cart-fly/index.html+++ b/animations/04-micro-interactions/add-to-cart-fly/index.html@@ -59,13 +59,14 @@}@media(prefers-reduced-motion:reduce){.add{transition:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../spotlight-hover/" rel="prev" aria-label="Previous: Spotlight Hover Glow"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Spotlight Hover Glow</span></a><a href="../drag-to-reorder/" rel="next" aria-label="Next: Drag to Reorder"><span><span class="hb-dir">Next: </span>Drag to Reorder</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -156,6 +157,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/badge-pulse/index.html b/animations/04-micro-interactions/badge-pulse/index.htmlindex 44b50fba..3df02716 100644--- a/animations/04-micro-interactions/badge-pulse/index.html+++ b/animations/04-micro-interactions/badge-pulse/index.html@@ -53,13 +53,14 @@/* Status dot (online) */.status-dot{position:absolute;bottom:-2px;right:-2px;width:16px;height:16px;border-radius:50%;background:#56d364;border:2px solid var(--bg);animation:badge-scale var(--pulse-dur) ease-in-out infinite}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../form-field-morph/" rel="prev" aria-label="Previous: Form Field Morph"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Form Field Morph</span></a><a href="../tooltip-reveal/" rel="next" aria-label="Next: Tooltip Reveal"><span><span class="hb-dir">Next: </span>Tooltip Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -177,6 +178,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/button-loading-states/index.html b/animations/04-micro-interactions/button-loading-states/index.htmlindex 5fa908ce..7442504f 100644--- a/animations/04-micro-interactions/button-loading-states/index.html+++ b/animations/04-micro-interactions/button-loading-states/index.html@@ -67,13 +67,14 @@.sbtn.busy .l-busy,.sbtn.ok .l-ok,.sbtn.err .l-err{opacity:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../expanding-search/" rel="prev" aria-label="Previous: Expanding Search"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Expanding Search</span></a><a href="../image-trail/" rel="next" aria-label="Next: Image Trail"><span><span class="hb-dir">Next: </span>Image Trail</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -172,6 +173,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/button-press-scale/index.html b/animations/04-micro-interactions/button-press-scale/index.htmlindex 6716baa0..1341b62c 100644--- a/animations/04-micro-interactions/button-press-scale/index.html+++ b/animations/04-micro-interactions/button-press-scale/index.html@@ -48,13 +48,14 @@.hb-page .stage .pbtn-primary:focus-visible,.hb-page .stage .pbtn-success:focus-visible{outline-color:#0b0b0d}@media(prefers-reduced-motion:reduce){.pbtn,.pbtn.pressed,.pbtn::before,.pbtn::after{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../focus-ring/" rel="prev" aria-label="Previous: Focus Ring Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Focus Ring Animation</span></a><a href="../magnetic-button/" rel="next" aria-label="Next: Magnetic Button"><span><span class="hb-dir">Next: </span>Magnetic Button</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -145,6 +146,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/checkmark-draw/index.html b/animations/04-micro-interactions/checkmark-draw/index.htmlindex acdf9fd3..5e4c1aef 100644--- a/animations/04-micro-interactions/checkmark-draw/index.html+++ b/animations/04-micro-interactions/checkmark-draw/index.html@@ -52,13 +52,14 @@.icon-wrap.shake{animation:shake .4s ease}@media(prefers-reduced-motion:reduce){.check-circle,.check-mark,.x-mark,.x-mark2{transition:none!important}.icon-wrap.drawn .check-circle,.icon-wrap.drawn .check-mark,.icon-wrap.error .x-mark,.icon-wrap.error .x-mark2{stroke-dashoffset:0}.icon-wrap.shake{animation:none}.sp{animation:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../progress-animation/" rel="prev" aria-label="Previous: Progress Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Progress Animation</span></a><a href="../form-field-morph/" rel="next" aria-label="Next: Form Field Morph"><span><span class="hb-dir">Next: </span>Form Field Morph</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -171,6 +172,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/click-ripple/index.html b/animations/04-micro-interactions/click-ripple/index.htmlindex a8a4da92..ef09a58f 100644--- a/animations/04-micro-interactions/click-ripple/index.html+++ b/animations/04-micro-interactions/click-ripple/index.html@@ -38,13 +38,14 @@@keyframes ripple-fade{from{transform:scale(var(--ripple-scale))}to{transform:scale(var(--ripple-scale));opacity:0}}@media(prefers-reduced-motion:reduce){.ripple{animation-name:ripple-fade}.rbtn{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../hover-state/" rel="prev" aria-label="Previous: Hover State Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Hover State Animation</span></a><a href="../focus-ring/" rel="next" aria-label="Next: Focus Ring Animation"><span><span class="hb-dir">Next: </span>Focus Ring Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -143,6 +144,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/copy-to-clipboard/index.html b/animations/04-micro-interactions/copy-to-clipboard/index.htmlindex cfa94278..aae07079 100644--- a/animations/04-micro-interactions/copy-to-clipboard/index.html+++ b/animations/04-micro-interactions/copy-to-clipboard/index.html@@ -57,13 +57,14 @@.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.copy-btn,.copy-btn::after,.ic svg,.ic .chk path,.labels span{transition:none!important;animation:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../theme-toggle-morph/" rel="prev" aria-label="Previous: Theme Toggle Morph"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Theme Toggle Morph</span></a><a href="../star-rating/" rel="next" aria-label="Next: Star Rating"><span><span class="hb-dir">Next: </span>Star Rating</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -159,6 +160,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/cursor-follower/index.html b/animations/04-micro-interactions/cursor-follower/index.htmlindex d0951b6e..0bb75b77 100644--- a/animations/04-micro-interactions/cursor-follower/index.html+++ b/animations/04-micro-interactions/cursor-follower/index.html@@ -51,13 +51,14 @@#follower.no-blend.ring circle{fill:rgba(255,157,92,.5);stroke:var(--ui-accent)}@media(prefers-reduced-motion:reduce){#follower .shape,#follower circle{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../accordion/" rel="prev" aria-label="Previous: Accordion Open/Close"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Accordion Open/Close</span></a><a href="../error-shake/" rel="next" aria-label="Next: Error Shake"><span><span class="hb-dir">Next: </span>Error Shake</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -149,6 +150,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/drag-to-reorder/index.html b/animations/04-micro-interactions/drag-to-reorder/index.htmlindex ffe69bbd..69abdcc8 100644--- a/animations/04-micro-interactions/drag-to-reorder/index.html+++ b/animations/04-micro-interactions/drag-to-reorder/index.html@@ -45,13 +45,14 @@.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(prefers-reduced-motion:reduce){.row,.card,.card::after,.tip{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../add-to-cart-fly/" rel="prev" aria-label="Previous: Add-to-Cart Fly"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Add-to-Cart Fly</span></a><a href="../rolling-numbers/" rel="next" aria-label="Next: Rolling Numbers"><span><span class="hb-dir">Next: </span>Rolling Numbers</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -127,6 +128,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/drawer-slide/index.html b/animations/04-micro-interactions/drawer-slide/index.htmlindex 9ebd55cd..2487a4ce 100644--- a/animations/04-micro-interactions/drawer-slide/index.html+++ b/animations/04-micro-interactions/drawer-slide/index.html@@ -54,13 +54,14 @@@media(min-width:601px) and (max-height:620px){.drawer-header{padding:8px 16px}.drawer-body{padding:8px 12px;gap:0}}@media(prefers-reduced-motion:reduce){.drawer,.backdrop{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../tooltip-reveal/" rel="prev" aria-label="Previous: Tooltip Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Tooltip Reveal</span></a><a href="../modal-expand/" rel="next" aria-label="Next: Modal Expand"><span><span class="hb-dir">Next: </span>Modal Expand</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -172,6 +173,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/dynamic-island/index.html b/animations/04-micro-interactions/dynamic-island/index.htmlindex ca533cd7..ef324a12 100644--- a/animations/04-micro-interactions/dynamic-island/index.html+++ b/animations/04-micro-interactions/dynamic-island/index.html@@ -90,13 +90,14 @@.isl:not(.open):focus-visible .ring{opacity:0}.isl:not(.open):focus-visible .pill{box-shadow:0 0 0 3px var(--ui-accent)}.open[data-n] .av i,.open[data-n] .wave i{animation:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../gooey-menu/" rel="prev" aria-label="Previous: Gooey Menu"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Gooey Menu</span></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -189,6 +190,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/error-shake/index.html b/animations/04-micro-interactions/error-shake/index.htmlindex d0518ff5..baf42c9d 100644--- a/animations/04-micro-interactions/error-shake/index.html+++ b/animations/04-micro-interactions/error-shake/index.html@@ -61,13 +61,14 @@@media(pointer:coarse){.field input{font-size:16px}}@media(prefers-reduced-motion:reduce){.field.error input{animation:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../cursor-follower/" rel="prev" aria-label="Previous: Cursor Follower"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Cursor Follower</span></a><a href="../swipe-to-dismiss/" rel="next" aria-label="Next: Swipe to Dismiss"><span><span class="hb-dir">Next: </span>Swipe to Dismiss</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -151,6 +152,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/expanding-search/index.html b/animations/04-micro-interactions/expanding-search/index.htmlindex 42426a40..c772b3bb 100644--- a/animations/04-micro-interactions/expanding-search/index.html+++ b/animations/04-micro-interactions/expanding-search/index.html@@ -70,13 +70,14 @@@media(pointer:coarse){.sfield input{font-size:16px}}@media(prefers-reduced-motion:reduce){.links,.sbtn,.sbtn svg,.sfield,.bar.open .sfield,.sclose,.sclose svg{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../hold-to-confirm/" rel="prev" aria-label="Previous: Hold to Confirm"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Hold to Confirm</span></a><a href="../button-loading-states/" rel="next" aria-label="Next: Button Loading States"><span><span class="hb-dir">Next: </span>Button Loading States</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -161,6 +162,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/focus-ring/index.html b/animations/04-micro-interactions/focus-ring/index.htmlindex 8bf8eb87..41e58a1f 100644--- a/animations/04-micro-interactions/focus-ring/index.html+++ b/animations/04-micro-interactions/focus-ring/index.html@@ -48,13 +48,14 @@/* Reduced motion: keep the focus outline (a11y) but drop the ring-in expansion */@media(prefers-reduced-motion:reduce){.focusable,.focusable:focus-visible,.focusable.is-demo{animation:none!important;transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../click-ripple/" rel="prev" aria-label="Previous: Click / Tap Ripple"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Click / Tap Ripple</span></a><a href="../button-press-scale/" rel="next" aria-label="Next: Button Press Scale"><span><span class="hb-dir">Next: </span>Button Press Scale</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -164,6 +165,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/form-field-morph/index.html b/animations/04-micro-interactions/form-field-morph/index.htmlindex ef354378..3cab2edc 100644--- a/animations/04-micro-interactions/form-field-morph/index.html+++ b/animations/04-micro-interactions/form-field-morph/index.html@@ -51,13 +51,14 @@@media(pointer:coarse){.float-field input,.float-field textarea,.box-field input{font-size:16px}}@media(prefers-reduced-motion:reduce){.float-field label,.float-field input,.float-field textarea,.float-field .underline,.box-field label,.box-field input{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../checkmark-draw/" rel="prev" aria-label="Previous: Checkmark Draw"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Checkmark Draw</span></a><a href="../badge-pulse/" rel="next" aria-label="Next: Notification Badge Pulse"><span><span class="hb-dir">Next: </span>Notification Badge Pulse</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -164,6 +165,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/gooey-menu/index.html b/animations/04-micro-interactions/gooey-menu/index.htmlindex 9a065e3f..c3f55579 100644--- a/animations/04-micro-interactions/gooey-menu/index.html+++ b/animations/04-micro-interactions/gooey-menu/index.html@@ -76,13 +76,14 @@.gm-say,.gm-say.show{transform:translate(-50%,0);transition:opacity .25s .15s}.gm-say{transition-delay:0s}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../image-trail/" rel="prev" aria-label="Previous: Image Trail"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Image Trail</span></a><a href="../dynamic-island/" rel="next" aria-label="Next: Dynamic Island"><span><span class="hb-dir">Next: </span>Dynamic Island</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -192,6 +193,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/gradient-border/index.html b/animations/04-micro-interactions/gradient-border/index.htmlindex 3869d0fb..cd06ca93 100644--- a/animations/04-micro-interactions/gradient-border/index.html+++ b/animations/04-micro-interactions/gradient-border/index.html@@ -62,13 +62,14 @@/* Blur costs the most on phones, and their stage is smaller, so less blur looks as soft */@media(max-width:600px),(max-height:500px){.gb-glow{filter:blur(10px)}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../pull-to-refresh/" rel="prev" aria-label="Previous: Pull to Refresh"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Pull to Refresh</span></a><a href="../spotlight-hover/" rel="next" aria-label="Next: Spotlight Hover Glow"><span><span class="hb-dir">Next: </span>Spotlight Hover Glow</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -177,6 +178,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/hamburger-menu-toggle/index.html b/animations/04-micro-interactions/hamburger-menu-toggle/index.htmlindex 18425102..5d405014 100644--- a/animations/04-micro-interactions/hamburger-menu-toggle/index.html+++ b/animations/04-micro-interactions/hamburger-menu-toggle/index.html@@ -56,13 +56,14 @@@media(min-width:601px) and (max-height:640px){.pair{gap:12px}.menu ul{gap:4px}.menu li{padding:10px 14px}}@media(prefers-reduced-motion:reduce){.bar,.menu,.menu li,.burger,.pair{transition:none!important}.menu li{transition-delay:0ms!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../swipe-to-dismiss/" rel="prev" aria-label="Previous: Swipe to Dismiss"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Swipe to Dismiss</span></a><a href="../theme-toggle-morph/" rel="next" aria-label="Next: Theme Toggle Morph"><span><span class="hb-dir">Next: </span>Theme Toggle Morph</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -159,6 +160,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/heart-burst/index.html b/animations/04-micro-interactions/heart-burst/index.htmlindex c2e97160..52282bd7 100644--- a/animations/04-micro-interactions/heart-burst/index.html+++ b/animations/04-micro-interactions/heart-burst/index.html@@ -36,13 +36,14 @@.count b{color:var(--ui-text)}@media(prefers-reduced-motion:reduce){.like-btn.pop .heart{animation:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../toggle-switch/" rel="prev" aria-label="Previous: Toggle / Switch Slide"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Toggle / Switch Slide</span></a><a href="../success-confetti/" rel="next" aria-label="Next: Success Confetti"><span><span class="hb-dir">Next: </span>Success Confetti</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -114,6 +115,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/hold-to-confirm/index.html b/animations/04-micro-interactions/hold-to-confirm/index.htmlindex 19f89af3..bc257897 100644--- a/animations/04-micro-interactions/hold-to-confirm/index.html+++ b/animations/04-micro-interactions/hold-to-confirm/index.html@@ -62,13 +62,14 @@.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(prefers-reduced-motion:reduce){.file,.hold,.dial,.ic,.words span,.tip{transition:none!important}.shaker.shake{animation:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../typing-indicator/" rel="prev" aria-label="Previous: Typing Indicator"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Typing Indicator</span></a><a href="../expanding-search/" rel="next" aria-label="Next: Expanding Search"><span><span class="hb-dir">Next: </span>Expanding Search</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -167,6 +168,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/hover-state/index.html b/animations/04-micro-interactions/hover-state/index.htmlindex 8b4cb537..f130fb43 100644--- a/animations/04-micro-interactions/hover-state/index.html+++ b/animations/04-micro-interactions/hover-state/index.html@@ -62,13 +62,14 @@/* Reduced motion: hover states still change, but without the tween */@media(prefers-reduced-motion:reduce){.h-color,.h-scale,.h-lift,.h-lift::after,.arrow,.h-underline .card-link::after,.h-sweep::before{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../click-ripple/" rel="next" aria-label="Next: Click / Tap Ripple"><span><span class="hb-dir">Next: </span>Click / Tap Ripple</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -144,6 +145,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/image-trail/index.html b/animations/04-micro-interactions/image-trail/index.htmlindex a364c098..c0296778 100644--- a/animations/04-micro-interactions/image-trail/index.html+++ b/animations/04-micro-interactions/image-trail/index.html@@ -45,13 +45,14 @@.defs{position:absolute;width:0;height:0}@media(max-width:600px),(max-height:500px){.pic{box-shadow:0 8px 20px var(--shade)}} /* phones: a lighter shadow, and fewer frames (in the script) */</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../button-loading-states/" rel="prev" aria-label="Previous: Button Loading States"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Button Loading States</span></a><a href="../gooey-menu/" rel="next" aria-label="Next: Gooey Menu"><span><span class="hb-dir">Next: </span>Gooey Menu</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -157,6 +158,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/loading-spinner/index.html b/animations/04-micro-interactions/loading-spinner/index.htmlindex 4f30db4b..d8990410 100644--- a/animations/04-micro-interactions/loading-spinner/index.html+++ b/animations/04-micro-interactions/loading-spinner/index.html@@ -56,13 +56,14 @@.sp-square{width:calc(var(--sz)*0.65);height:calc(var(--sz)*0.65);border:3px solid var(--clr);animation:sq-spin var(--spd) ease-in-out infinite}@keyframes sq-spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg) scale(.7)}100%{transform:rotate(360deg)}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../shimmer-effect/" rel="prev" aria-label="Previous: Shimmer Effect"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Shimmer Effect</span></a><a href="../progress-animation/" rel="next" aria-label="Next: Progress Animation"><span><span class="hb-dir">Next: </span>Progress Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -176,6 +177,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/magnetic-button/index.html b/animations/04-micro-interactions/magnetic-button/index.htmlindex 5ca85fe0..4b92c898 100644--- a/animations/04-micro-interactions/magnetic-button/index.html+++ b/animations/04-micro-interactions/magnetic-button/index.html@@ -32,13 +32,14 @@.hb-page .stage .mag:focus-visible{outline-color:#0b0b0d}@media(prefers-reduced-motion:reduce){.mag,.mag .mag-label{transition:transform .12s linear}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../button-press-scale/" rel="prev" aria-label="Previous: Button Press Scale"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Button Press Scale</span></a><a href="../toggle-switch/" rel="next" aria-label="Next: Toggle / Switch Slide"><span><span class="hb-dir">Next: </span>Toggle / Switch Slide</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -104,6 +105,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/modal-expand/index.html b/animations/04-micro-interactions/modal-expand/index.htmlindex d4f403f9..1f3cd4d6 100644--- a/animations/04-micro-interactions/modal-expand/index.html+++ b/animations/04-micro-interactions/modal-expand/index.html@@ -48,13 +48,14 @@@media(max-width:600px),(max-height:500px){.modal-close,.modal-confirm{height:44px}}@media(prefers-reduced-motion:reduce){.modal,.modal-backdrop{transition:none!important}.modal.open{transform:scale(1)!important;opacity:1!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../drawer-slide/" rel="prev" aria-label="Previous: Drawer / Panel Slide"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Drawer / Panel Slide</span></a><a href="../accordion/" rel="next" aria-label="Next: Accordion Open/Close"><span><span class="hb-dir">Next: </span>Accordion Open/Close</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -160,6 +161,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/progress-animation/index.html b/animations/04-micro-interactions/progress-animation/index.htmlindex 1e8a8324..1e459c94 100644--- a/animations/04-micro-interactions/progress-animation/index.html+++ b/animations/04-micro-interactions/progress-animation/index.html@@ -43,13 +43,14 @@.step.done{background:var(--prog-color)}@media(prefers-reduced-motion:reduce){.prog-fill.indet{animation:none!important;width:100%!important;transform:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../loading-spinner/" rel="prev" aria-label="Previous: Loading Spinner"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Loading Spinner</span></a><a href="../checkmark-draw/" rel="next" aria-label="Next: Checkmark Draw"><span><span class="hb-dir">Next: </span>Checkmark Draw</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -162,6 +163,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/pull-to-refresh/index.html b/animations/04-micro-interactions/pull-to-refresh/index.htmlindex 94f43a29..f8969922 100644--- a/animations/04-micro-interactions/pull-to-refresh/index.html+++ b/animations/04-micro-interactions/pull-to-refresh/index.html@@ -71,13 +71,14 @@.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(prefers-reduced-motion:reduce){.scroller,.indicator{transition:none!important}.card.fresh{animation:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../segmented-control/" rel="prev" aria-label="Previous: Segmented Control"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Segmented Control</span></a><a href="../gradient-border/" rel="next" aria-label="Next: Animated Gradient Border"><span><span class="hb-dir">Next: </span>Animated Gradient Border</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -177,6 +178,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/rolling-numbers/index.html b/animations/04-micro-interactions/rolling-numbers/index.htmlindex 9d2bfb42..ac4cfc19 100644--- a/animations/04-micro-interactions/rolling-numbers/index.html+++ b/animations/04-micro-interactions/rolling-numbers/index.html@@ -41,13 +41,14 @@@media(hover:hover){.btn:hover{border-color:var(--ui-accent)}}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../drag-to-reorder/" rel="prev" aria-label="Previous: Drag to Reorder"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Drag to Reorder</span></a><a href="../typing-indicator/" rel="next" aria-label="Next: Typing Indicator"><span><span class="hb-dir">Next: </span>Typing Indicator</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -127,6 +128,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/segmented-control/index.html b/animations/04-micro-interactions/segmented-control/index.htmlindex d9834fa2..b03ba42b 100644--- a/animations/04-micro-interactions/segmented-control/index.html+++ b/animations/04-micro-interactions/segmented-control/index.html@@ -37,13 +37,14 @@@media(max-width:600px){.stage{padding-left:10px;padding-right:10px}}@media(prefers-reduced-motion:reduce){.seg-ind,.seg-opt{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../toast-notification/" rel="prev" aria-label="Previous: Toast Notification"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Toast Notification</span></a><a href="../pull-to-refresh/" rel="next" aria-label="Next: Pull to Refresh"><span><span class="hb-dir">Next: </span>Pull to Refresh</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/shimmer-effect/index.html b/animations/04-micro-interactions/shimmer-effect/index.htmlindex a76b0152..cd6d3723 100644--- a/animations/04-micro-interactions/shimmer-effect/index.html+++ b/animations/04-micro-interactions/shimmer-effect/index.html@@ -45,13 +45,14 @@.sk-circle{width:36px;height:36px;border-radius:50%;background:#1a1f28;flex-shrink:0}.sk-row-lines{flex:1;display:flex;flex-direction:column;gap:6px}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../skeleton-loader/" rel="prev" aria-label="Previous: Skeleton Loader"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Skeleton Loader</span></a><a href="../loading-spinner/" rel="next" aria-label="Next: Loading Spinner"><span><span class="hb-dir">Next: </span>Loading Spinner</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -158,6 +159,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/skeleton-loader/index.html b/animations/04-micro-interactions/skeleton-loader/index.htmlindex 170ae6bf..030bcea4 100644--- a/animations/04-micro-interactions/skeleton-loader/index.html+++ b/animations/04-micro-interactions/skeleton-loader/index.html@@ -50,13 +50,14 @@.real-text{font-size:11px;color:var(--ui-muted);line-height:1.6}@media(prefers-reduced-motion:reduce){.skel{animation:none!important;opacity:.6}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../success-confetti/" rel="prev" aria-label="Previous: Success Confetti"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Success Confetti</span></a><a href="../shimmer-effect/" rel="next" aria-label="Next: Shimmer Effect"><span><span class="hb-dir">Next: </span>Shimmer Effect</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -158,6 +159,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/spotlight-hover/index.html b/animations/04-micro-interactions/spotlight-hover/index.htmlindex fd704981..53c0b637 100644--- a/animations/04-micro-interactions/spotlight-hover/index.html+++ b/animations/04-micro-interactions/spotlight-hover/index.html@@ -51,13 +51,14 @@}@media(prefers-reduced-motion:reduce){.eg,.fg{transition-duration:.2s}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../gradient-border/" rel="prev" aria-label="Previous: Animated Gradient Border"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Animated Gradient Border</span></a><a href="../add-to-cart-fly/" rel="next" aria-label="Next: Add-to-Cart Fly"><span><span class="hb-dir">Next: </span>Add-to-Cart Fly</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -150,6 +151,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/star-rating/index.html b/animations/04-micro-interactions/star-rating/index.htmlindex 56730910..6fb1e1a5 100644--- a/animations/04-micro-interactions/star-rating/index.html+++ b/animations/04-micro-interactions/star-rating/index.html@@ -42,13 +42,14 @@@media(max-width:870px){.rate.many{max-width:calc(5*var(--star) + 4*var(--gap) + 1px)}}@media(prefers-reduced-motion:reduce){.star{transition:none}.star.pop{animation:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../copy-to-clipboard/" rel="prev" aria-label="Previous: Copy to Clipboard"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Copy to Clipboard</span></a><a href="../toast-notification/" rel="next" aria-label="Next: Toast Notification"><span><span class="hb-dir">Next: </span>Toast Notification</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -134,6 +135,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/success-confetti/index.html b/animations/04-micro-interactions/success-confetti/index.htmlindex 2bb7ab8b..d3e6a99e 100644--- a/animations/04-micro-interactions/success-confetti/index.html+++ b/animations/04-micro-interactions/success-confetti/index.html@@ -36,13 +36,14 @@.hb-page .stage .order-btn:focus-visible{outline-color:#0b0b0d}@media(prefers-reduced-motion:reduce){.order-btn:active{transform:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../heart-burst/" rel="prev" aria-label="Previous: Heart / Like Burst"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Heart / Like Burst</span></a><a href="../skeleton-loader/" rel="next" aria-label="Next: Skeleton Loader"><span><span class="hb-dir">Next: </span>Skeleton Loader</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -117,6 +118,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/swipe-to-dismiss/index.html b/animations/04-micro-interactions/swipe-to-dismiss/index.htmlindex 5e1dcc04..139811cb 100644--- a/animations/04-micro-interactions/swipe-to-dismiss/index.html+++ b/animations/04-micro-interactions/swipe-to-dismiss/index.html@@ -47,13 +47,14 @@@media(min-width:601px) and (max-height:640px){.stage{padding:8px}.list{gap:6px}.row{height:56px}}@media(prefers-reduced-motion:reduce){.row,.card.settling,.card.flung{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../error-shake/" rel="prev" aria-label="Previous: Error Shake"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Error Shake</span></a><a href="../hamburger-menu-toggle/" rel="next" aria-label="Next: Hamburger Menu Toggle"><span><span class="hb-dir">Next: </span>Hamburger Menu Toggle</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -115,6 +116,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/theme-toggle-morph/index.html b/animations/04-micro-interactions/theme-toggle-morph/index.htmlindex ab7d328e..bc04bf02 100644--- a/animations/04-micro-interactions/theme-toggle-morph/index.html+++ b/animations/04-micro-interactions/theme-toggle-morph/index.html@@ -54,13 +54,14 @@@media(min-width:601px) and (max-height:640px){.stage{--toggle-size:80px;gap:16px}.card{width:min(190px,80%)}}@media(prefers-reduced-motion:reduce){.icon line,.icon .disc,.icon .cutout,.card-inner,.toggle{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../hamburger-menu-toggle/" rel="prev" aria-label="Previous: Hamburger Menu Toggle"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Hamburger Menu Toggle</span></a><a href="../copy-to-clipboard/" rel="next" aria-label="Next: Copy to Clipboard"><span><span class="hb-dir">Next: </span>Copy to Clipboard</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -158,6 +159,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/toast-notification/index.html b/animations/04-micro-interactions/toast-notification/index.htmlindex 86ee7f9e..09ab5753 100644--- a/animations/04-micro-interactions/toast-notification/index.html+++ b/animations/04-micro-interactions/toast-notification/index.html@@ -55,13 +55,14 @@/* Reduced motion: toasts come and go without movement, and the bar is hidden but keeps counting down, so it still ends the toast and hover and focus still pause it */@media(prefers-reduced-motion:reduce){.toast{transition:none!important}.toast .prog{visibility:hidden}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../star-rating/" rel="prev" aria-label="Previous: Star Rating"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Star Rating</span></a><a href="../segmented-control/" rel="next" aria-label="Next: Segmented Control"><span><span class="hb-dir">Next: </span>Segmented Control</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -152,6 +153,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/toggle-switch/index.html b/animations/04-micro-interactions/toggle-switch/index.htmlindex 72fb16e1..1cba92ef 100644--- a/animations/04-micro-interactions/toggle-switch/index.html+++ b/animations/04-micro-interactions/toggle-switch/index.html@@ -50,13 +50,14 @@.sw-lg input:checked~.sw-track{background:#ffa657}@media(prefers-reduced-motion:reduce){.sw-track,.sw-thumb{transition:background .1s!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../magnetic-button/" rel="prev" aria-label="Previous: Magnetic Button"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Magnetic Button</span></a><a href="../heart-burst/" rel="next" aria-label="Next: Heart / Like Burst"><span><span class="hb-dir">Next: </span>Heart / Like Burst</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -165,6 +166,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/tooltip-reveal/index.html b/animations/04-micro-interactions/tooltip-reveal/index.htmlindex dd62fe3f..c31d2599 100644--- a/animations/04-micro-interactions/tooltip-reveal/index.html+++ b/animations/04-micro-interactions/tooltip-reveal/index.html@@ -62,13 +62,14 @@@media(pointer:coarse){.help-input{font-size:16px}}@media(prefers-reduced-motion:reduce){.tooltip{transition:opacity var(--tip-dur) ease!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../badge-pulse/" rel="prev" aria-label="Previous: Notification Badge Pulse"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Notification Badge Pulse</span></a><a href="../drawer-slide/" rel="next" aria-label="Next: Drawer / Panel Slide"><span><span class="hb-dir">Next: </span>Drawer / Panel Slide</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -168,6 +169,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/04-micro-interactions/typing-indicator/index.html b/animations/04-micro-interactions/typing-indicator/index.htmlindex 8019f463..72b6a4be 100644--- a/animations/04-micro-interactions/typing-indicator/index.html+++ b/animations/04-micro-interactions/typing-indicator/index.html@@ -45,13 +45,14 @@@keyframes ty-wave{0%,100%{transform:translateY(calc(var(--lift)*-.5));opacity:.55}50%{transform:translateY(var(--lift));opacity:1}}@media(prefers-reduced-motion:reduce){.typing{--hop:0px;--lift:0px;--small:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../rolling-numbers/" rel="prev" aria-label="Previous: Rolling Numbers"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Rolling Numbers</span></a><a href="../hold-to-confirm/" rel="next" aria-label="Next: Hold to Confirm"><span><span class="hb-dir">Next: </span>Hold to Confirm</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/enter-exit-typography/index.html b/animations/05-text-typography/enter-exit-typography/index.htmlindex 30419e17..2c190e51 100644--- a/animations/05-text-typography/enter-exit-typography/index.html+++ b/animations/05-text-typography/enter-exit-typography/index.html@@ -49,13 +49,14 @@@keyframes xCl{from{opacity:1;clip-path:inset(0 0% 0 0)}to{opacity:1;clip-path:inset(0 100% 0 0)}}@media(prefers-reduced-motion:reduce){.phrase-el{animation:none!important;opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../outline-to-fill/" rel="prev" aria-label="Previous: Outline to Fill"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Outline to Fill</span></a><a href="../rotate-word-carousel/" rel="next" aria-label="Next: Rotate Word Carousel"><span><span class="hb-dir">Next: </span>Rotate Word Carousel</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -133,6 +134,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/glitch-text/index.html b/animations/05-text-typography/glitch-text/index.htmlindex ad6a5466..0b9e30b7 100644--- a/animations/05-text-typography/glitch-text/index.html+++ b/animations/05-text-typography/glitch-text/index.html@@ -57,13 +57,14 @@/* toggling this class restarts the pseudo-element animations (reshuffles phase) */.glitch.reset::before,.glitch.reset::after{animation:none}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../rotate-word-carousel/" rel="prev" aria-label="Previous: Rotate Word Carousel"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Rotate Word Carousel</span></a><a href="../text-on-path/" rel="next" aria-label="Next: Text on a Path"><span><span class="hb-dir">Next: </span>Text on a Path</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -152,6 +153,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/handwriting-draw/index.html b/animations/05-text-typography/handwriting-draw/index.htmlindex a0b6bf68..fccdbfee 100644--- a/animations/05-text-typography/handwriting-draw/index.html+++ b/animations/05-text-typography/handwriting-draw/index.html@@ -36,13 +36,14 @@.pen.shown{opacity:1}.pen-body{fill:var(--ink)}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../neon-flicker/" rel="prev" aria-label="Previous: Neon Flicker"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Neon Flicker</span></a><a href="../text-particles/" rel="next" aria-label="Next: Text Particles"><span><span class="hb-dir">Next: </span>Text Particles</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -147,6 +148,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/highlighter-sweep/index.html b/animations/05-text-typography/highlighter-sweep/index.htmlindex 5591a720..2d6f2f6a 100644--- a/animations/05-text-typography/highlighter-sweep/index.html+++ b/animations/05-text-typography/highlighter-sweep/index.html@@ -45,13 +45,14 @@.para.on .w::before{opacity:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../wavy-text/" rel="prev" aria-label="Previous: Wavy Text"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Wavy Text</span></a><a href="../split-flap-board/" rel="next" aria-label="Next: Split-Flap Board"><span><span class="hb-dir">Next: </span>Split-Flap Board</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -130,6 +131,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/kinetic-typography/index.html b/animations/05-text-typography/kinetic-typography/index.htmlindex 91afe5bd..796221b6 100644--- a/animations/05-text-typography/kinetic-typography/index.html+++ b/animations/05-text-typography/kinetic-typography/index.html@@ -47,13 +47,14 @@@keyframes kExitRight{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(80px)}}@media(prefers-reduced-motion:reduce){.kw{animation:none!important;opacity:1!important;transform:none!important;clip-path:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../typewriter-effect/" rel="next" aria-label="Next: Typewriter Effect"><span><span class="hb-dir">Next: </span>Typewriter Effect</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -111,6 +112,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/marquee-ticker/index.html b/animations/05-text-typography/marquee-ticker/index.htmlindex 7e4ff4f2..6bf95678 100644--- a/animations/05-text-typography/marquee-ticker/index.html+++ b/animations/05-text-typography/marquee-ticker/index.html@@ -37,13 +37,14 @@.marq-item.rev-row{color:rgba(255,255,255,.6)}.sep{color:var(--ui-accent);font-size:.6em;opacity:.7}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../text-clip-path-reveal/" rel="prev" aria-label="Previous: Text Clip-Path Reveal"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Text Clip-Path Reveal</span></a><a href="../text-morphing/" rel="next" aria-label="Next: Text Morphing"><span><span class="hb-dir">Next: </span>Text Morphing</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -136,6 +137,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/neon-flicker/index.html b/animations/05-text-typography/neon-flicker/index.htmlindex 3065d39c..17b3ec57 100644--- a/animations/05-text-typography/neon-flicker/index.html+++ b/animations/05-text-typography/neon-flicker/index.html@@ -67,13 +67,14 @@@keyframes soft{50%{opacity:.7}}@keyframes soft-b{50%{opacity:.35}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../split-flap-board/" rel="prev" aria-label="Previous: Split-Flap Board"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Split-Flap Board</span></a><a href="../handwriting-draw/" rel="next" aria-label="Next: Handwriting Draw"><span><span class="hb-dir">Next: </span>Handwriting Draw</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -171,6 +172,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/outline-to-fill/index.html b/animations/05-text-typography/outline-to-fill/index.htmlindex 999ab4bb..9011d2dd 100644--- a/animations/05-text-typography/outline-to-fill/index.html+++ b/animations/05-text-typography/outline-to-fill/index.html@@ -64,13 +64,14 @@.var-label{font-size:clamp(11px,1.5vw,14px);letter-spacing:2px;text-transform:uppercase;color:#8a8a92;text-align:center;margin-bottom:12px}@media(prefers-reduced-motion:reduce){.fill-layer,.stroke-only,.fill-only{transition:none!important}.fill-layer{clip-path:inset(0%)!important}.stroke-fade-wrap.filled .fill-only{opacity:1!important}.stroke-fade-wrap.filled .stroke-only{opacity:0!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../text-gradient-animation/" rel="prev" aria-label="Previous: Text Gradient Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Text Gradient Animation</span></a><a href="../enter-exit-typography/" rel="next" aria-label="Next: Enter/Exit Typography"><span><span class="hb-dir">Next: </span>Enter/Exit Typography</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -204,6 +205,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/rotate-word-carousel/index.html b/animations/05-text-typography/rotate-word-carousel/index.htmlindex c2d8b799..a43220d2 100644--- a/animations/05-text-typography/rotate-word-carousel/index.html+++ b/animations/05-text-typography/rotate-word-carousel/index.html@@ -47,13 +47,14 @@.wc0{color:#58a6ff}.wc1{color:#56d364}.wc2{color:#d2a8ff}.wc3{color:#ffa657}.wc4{color:#f85149}@media(prefers-reduced-motion:reduce){.rot-word{transition:none!important;transform:none!important;opacity:1!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../enter-exit-typography/" rel="prev" aria-label="Previous: Enter/Exit Typography"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Enter/Exit Typography</span></a><a href="../glitch-text/" rel="next" aria-label="Next: Glitch Text"><span><span class="hb-dir">Next: </span>Glitch Text</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -159,6 +160,7 @@ Startups</textarea><p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/scramble-text/index.html b/animations/05-text-typography/scramble-text/index.htmlindex fce2405f..f57cfe6a 100644--- a/animations/05-text-typography/scramble-text/index.html+++ b/animations/05-text-typography/scramble-text/index.html@@ -32,13 +32,14 @@.unit-word{display:inline-block;white-space:nowrap}@media(prefers-reduced-motion:reduce){.scramble-text .char{transition:none!important;color:#fff!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../typewriter-effect/" rel="prev" aria-label="Previous: Typewriter Effect"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Typewriter Effect</span></a><a href="../variable-font-morph/" rel="next" aria-label="Next: Variable Font Morph"><span><span class="hb-dir">Next: </span>Variable Font Morph</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -126,6 +127,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/split-flap-board/index.html b/animations/05-text-typography/split-flap-board/index.htmlindex f4479332..105ec99e 100644--- a/animations/05-text-typography/split-flap-board/index.html+++ b/animations/05-text-typography/split-flap-board/index.html@@ -50,13 +50,14 @@/* Reduced motion: no flipping; each letter fades in, tile after tile */@media(prefers-reduced-motion:reduce){.half b{transition:opacity .4s linear calc(var(--i,0) * 60ms)}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../highlighter-sweep/" rel="prev" aria-label="Previous: Highlighter Sweep"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Highlighter Sweep</span></a><a href="../neon-flicker/" rel="next" aria-label="Next: Neon Flicker"><span><span class="hb-dir">Next: </span>Neon Flicker</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -133,6 +134,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/text-clip-path-reveal/index.html b/animations/05-text-typography/text-clip-path-reveal/index.htmlindex 53f0bbfc..70a74e0b 100644--- a/animations/05-text-typography/text-clip-path-reveal/index.html+++ b/animations/05-text-typography/text-clip-path-reveal/index.html@@ -42,13 +42,14 @@.line-text.revealed{clip-path:inset(0 0% 0 0)!important}@media(prefers-reduced-motion:reduce){.line-text{clip-path:inset(0)!important;transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../variable-font-morph/" rel="prev" aria-label="Previous: Variable Font Morph"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Variable Font Morph</span></a><a href="../marquee-ticker/" rel="next" aria-label="Next: Marquee / Ticker"><span><span class="hb-dir">Next: </span>Marquee / Ticker</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -145,6 +146,7 @@ Always.</textarea><p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/text-gradient-animation/index.html b/animations/05-text-typography/text-gradient-animation/index.htmlindex 5bfb9d81..42f130f7 100644--- a/animations/05-text-typography/text-gradient-animation/index.html+++ b/animations/05-text-typography/text-gradient-animation/index.html@@ -55,13 +55,14 @@@keyframes grad-flow{from{background-position:0% 50%}to{background-position:300% 50%}}@keyframes grad-spin{from{--ang:0deg}to{--ang:360deg}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../text-morphing/" rel="prev" aria-label="Previous: Text Morphing"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Text Morphing</span></a><a href="../outline-to-fill/" rel="next" aria-label="Next: Outline to Fill"><span><span class="hb-dir">Next: </span>Outline to Fill</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -162,6 +163,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/text-morphing/index.html b/animations/05-text-typography/text-morphing/index.htmlindex 0ed8e22e..bebdb921 100644--- a/animations/05-text-typography/text-morphing/index.html+++ b/animations/05-text-typography/text-morphing/index.html@@ -44,13 +44,14 @@.morph-char.enter-from-right{transform:translateX(80%);opacity:0}@media(prefers-reduced-motion:reduce){.morph-char{transition:none!important;transform:none!important;opacity:1!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../marquee-ticker/" rel="prev" aria-label="Previous: Marquee / Ticker"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Marquee / Ticker</span></a><a href="../text-gradient-animation/" rel="next" aria-label="Next: Text Gradient Animation"><span><span class="hb-dir">Next: </span>Text Gradient Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -149,6 +150,7 @@ SOUND</textarea><p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/text-on-path/index.html b/animations/05-text-typography/text-on-path/index.htmlindex 38dbae3a..6f10d089 100644--- a/animations/05-text-typography/text-on-path/index.html+++ b/animations/05-text-typography/text-on-path/index.html@@ -30,13 +30,14 @@.guide.hidden{opacity:0}@media(prefers-reduced-motion:reduce){.guide{transition:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../glitch-text/" rel="prev" aria-label="Previous: Glitch Text"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Glitch Text</span></a><a href="../wavy-text/" rel="next" aria-label="Next: Wavy Text"><span><span class="hb-dir">Next: </span>Wavy Text</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -124,6 +125,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/text-particles/index.html b/animations/05-text-typography/text-particles/index.htmlindex e6611a1b..a7c82ab6 100644--- a/animations/05-text-typography/text-particles/index.html+++ b/animations/05-text-typography/text-particles/index.html@@ -30,13 +30,14 @@/* touch-action none: a finger dragged over the word pushes the dots instead of scrolling the page */canvas{display:block;width:100%;height:100%;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../handwriting-draw/" rel="prev" aria-label="Previous: Handwriting Draw"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Handwriting Draw</span></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/typewriter-effect/index.html b/animations/05-text-typography/typewriter-effect/index.htmlindex 97ae455f..ca0dee02 100644--- a/animations/05-text-typography/typewriter-effect/index.html+++ b/animations/05-text-typography/typewriter-effect/index.html@@ -35,13 +35,14 @@@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}@media(prefers-reduced-motion:reduce){.cursor{animation:none!important;opacity:1!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../kinetic-typography/" rel="prev" aria-label="Previous: Kinetic Typography"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Kinetic Typography</span></a><a href="../scramble-text/" rel="next" aria-label="Next: Scramble / Glitch Text"><span><span class="hb-dir">Next: </span>Scramble / Glitch Text</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -142,6 +143,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/variable-font-morph/index.html b/animations/05-text-typography/variable-font-morph/index.htmlindex daef7458..470a293a 100644--- a/animations/05-text-typography/variable-font-morph/index.html+++ b/animations/05-text-typography/variable-font-morph/index.html@@ -42,13 +42,14 @@}@media(prefers-reduced-motion:reduce){.vf-text{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scramble-text/" rel="prev" aria-label="Previous: Scramble / Glitch Text"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scramble / Glitch Text</span></a><a href="../text-clip-path-reveal/" rel="next" aria-label="Next: Text Clip-Path Reveal"><span><span class="hb-dir">Next: </span>Text Clip-Path Reveal</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -119,6 +120,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/05-text-typography/wavy-text/index.html b/animations/05-text-typography/wavy-text/index.htmlindex 82e7ce4e..4f5d67b6 100644--- a/animations/05-text-typography/wavy-text/index.html+++ b/animations/05-text-typography/wavy-text/index.html@@ -35,13 +35,14 @@50%{transform:translateY(calc(var(--amp) * -1))}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../text-on-path/" rel="prev" aria-label="Previous: Text on a Path"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Text on a Path</span></a><a href="../highlighter-sweep/" rel="next" aria-label="Next: Highlighter Sweep"><span><span class="hb-dir">Next: </span>Highlighter Sweep</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -126,6 +127,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html b/animations/06-3d-advanced/2-5d-pseudo-3d/index.htmlindex 897d38a3..8385c34c 100644--- a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html+++ b/animations/06-3d-advanced/2-5d-pseudo-3d/index.html@@ -63,13 +63,14 @@.depth-label{position:absolute;top:4px;left:4px;padding:0 5px;border-radius:4px;background:rgba(2,8,18,.75);font-size:11px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,.7);pointer-events:none;z-index:10;display:none}@media(prefers-reduced-motion:reduce){.scene-inner{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../chromatic-aberration/" rel="prev" aria-label="Previous: Chromatic Aberration"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Chromatic Aberration</span></a><a href="../ray-marching-sdf/" rel="next" aria-label="Next: Ray Marching / SDF Scene"><span><span class="hb-dir">Next: </span>Ray Marching / SDF Scene</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -172,6 +173,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/3d-model-orbit/index.html b/animations/06-3d-advanced/3d-model-orbit/index.htmlindex 77c02a01..536242d9 100644--- a/animations/06-3d-advanced/3d-model-orbit/index.html+++ b/animations/06-3d-advanced/3d-model-orbit/index.html@@ -27,13 +27,14 @@canvas{display:block;width:100%;height:100%}.msg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;font-size:13px;line-height:1.7;color:rgba(255,255,255,.72)}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scroll-driven-3d-rotation/" rel="next" aria-label="Next: Scroll-Driven 3D Rotation"><span><span class="hb-dir">Next: </span>Scroll-Driven 3D Rotation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -142,6 +143,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/ascii-halftone/index.html b/animations/06-3d-advanced/ascii-halftone/index.htmlindex 8ee01fa1..7979771a 100644--- a/animations/06-3d-advanced/ascii-halftone/index.html+++ b/animations/06-3d-advanced/ascii-halftone/index.html@@ -28,13 +28,14 @@canvas{position:absolute;inset:0;display:block;width:100%;height:100%}#pic{opacity:.4}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../flocking/" rel="prev" aria-label="Previous: Flocking"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Flocking</span></a><a href="../physics-2d/" rel="next" aria-label="Next: 2D Physics"><span><span class="hb-dir">Next: </span>2D Physics</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -121,6 +122,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/canvas-particle-effect/index.html b/animations/06-3d-advanced/canvas-particle-effect/index.htmlindex 422888a0..cfd6ed71 100644--- a/animations/06-3d-advanced/canvas-particle-effect/index.html+++ b/animations/06-3d-advanced/canvas-particle-effect/index.html@@ -26,13 +26,14 @@.stage{background:#060a10}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../parallax-3d-tilt/" rel="prev" aria-label="Previous: Parallax 3D Tilt"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Parallax 3D Tilt</span></a><a href="../fluid-simulation/" rel="next" aria-label="Next: Fluid / Liquid Simulation"><span><span class="hb-dir">Next: </span>Fluid / Liquid Simulation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -138,6 +139,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/carousel-3d/index.html b/animations/06-3d-advanced/carousel-3d/index.htmlindex 077bf693..4320f431 100644--- a/animations/06-3d-advanced/carousel-3d/index.html+++ b/animations/06-3d-advanced/carousel-3d/index.html@@ -53,13 +53,14 @@@media(hover:hover){.arrow:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4)}}@media(prefers-reduced-motion:reduce){.view.ready .tilt{transition:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../flip-card-3d/" rel="prev" aria-label="Previous: 3D Flip Card"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>3D Flip Card</span></a><a href="../depth-map-photo/" rel="next" aria-label="Next: Depth-Map Photo"><span><span class="hb-dir">Next: </span>Depth-Map Photo</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/chromatic-aberration/index.html b/animations/06-3d-advanced/chromatic-aberration/index.htmlindex b296246c..ae2dad14 100644--- a/animations/06-3d-advanced/chromatic-aberration/index.html+++ b/animations/06-3d-advanced/chromatic-aberration/index.html@@ -56,13 +56,14 @@88%{transform:var(--b-t)}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../svg-path-animation/" rel="prev" aria-label="Previous: SVG Path Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>SVG Path Animation</span></a><a href="../2-5d-pseudo-3d/" rel="next" aria-label="Next: 2.5D / Pseudo-3D"><span><span class="hb-dir">Next: </span>2.5D / Pseudo-3D</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -156,6 +157,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/cloth-simulation/index.html b/animations/06-3d-advanced/cloth-simulation/index.htmlindex 8ac63a84..7cb88c44 100644--- a/animations/06-3d-advanced/cloth-simulation/index.html+++ b/animations/06-3d-advanced/cloth-simulation/index.html@@ -26,13 +26,14 @@.stage{position:relative;background:#0b0b0d;touch-action:none}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../image-distortion-hover/" rel="prev" aria-label="Previous: Image Distortion on Hover"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Image Distortion on Hover</span></a><a href="../volumetric-smoke/" rel="next" aria-label="Next: Volumetric Smoke / 3D Noise"><span><span class="hb-dir">Next: </span>Volumetric Smoke / 3D Noise</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -135,6 +136,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/depth-map-photo/index.html b/animations/06-3d-advanced/depth-map-photo/index.htmlindex a1aa66e7..1d872b14 100644--- a/animations/06-3d-advanced/depth-map-photo/index.html+++ b/animations/06-3d-advanced/depth-map-photo/index.html@@ -30,13 +30,14 @@canvas{display:block;width:100%;height:100%;touch-action:none}@media(prefers-reduced-motion:reduce){canvas{touch-action:auto}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../carousel-3d/" rel="prev" aria-label="Previous: 3D Carousel"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>3D Carousel</span></a><a href="../flocking/" rel="next" aria-label="Next: Flocking"><span><span class="hb-dir">Next: </span>Flocking</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -96,6 +97,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/flip-card-3d/index.html b/animations/06-3d-advanced/flip-card-3d/index.htmlindex 01c7c6c3..b96836b8 100644--- a/animations/06-3d-advanced/flip-card-3d/index.html+++ b/animations/06-3d-advanced/flip-card-3d/index.html@@ -75,13 +75,14 @@.card.flipped .back{opacity:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../morphing-blob/" rel="prev" aria-label="Previous: Morphing Blob"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Morphing Blob</span></a><a href="../carousel-3d/" rel="next" aria-label="Next: 3D Carousel"><span><span class="hb-dir">Next: </span>3D Carousel</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -193,6 +194,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/flocking/index.html b/animations/06-3d-advanced/flocking/index.htmlindex c50ab1de..6b2c4f85 100644--- a/animations/06-3d-advanced/flocking/index.html+++ b/animations/06-3d-advanced/flocking/index.html@@ -26,13 +26,14 @@.stage{position:relative;overflow:hidden;background:linear-gradient(var(--sky-top),var(--sky-mid) 55%,var(--sky-low))}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../depth-map-photo/" rel="prev" aria-label="Previous: Depth-Map Photo"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Depth-Map Photo</span></a><a href="../ascii-halftone/" rel="next" aria-label="Next: ASCII / Halftone"><span><span class="hb-dir">Next: </span>ASCII / Halftone</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -120,6 +121,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/fluid-simulation/index.html b/animations/06-3d-advanced/fluid-simulation/index.htmlindex 2ec0fead..3a9b005a 100644--- a/animations/06-3d-advanced/fluid-simulation/index.html+++ b/animations/06-3d-advanced/fluid-simulation/index.html@@ -27,13 +27,14 @@canvas{display:block;width:100%;height:100%}.no-webgl{position:absolute;inset:0;display:none;align-items:center;justify-content:center;text-align:center;padding:24px;font-size:13px;line-height:1.7;color:rgba(255,255,255,.72)}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../canvas-particle-effect/" rel="prev" aria-label="Previous: Canvas Particle Effect"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Canvas Particle Effect</span></a><a href="../glassmorphism-animated/" rel="next" aria-label="Next: Glassmorphism Animated"><span><span class="hb-dir">Next: </span>Glassmorphism Animated</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -143,6 +144,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/glassmorphism-animated/index.html b/animations/06-3d-advanced/glassmorphism-animated/index.htmlindex 2ceaf2ba..0a616754 100644--- a/animations/06-3d-advanced/glassmorphism-animated/index.html+++ b/animations/06-3d-advanced/glassmorphism-animated/index.html@@ -75,13 +75,14 @@.card-body{font-size:12px;line-height:1.4}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../fluid-simulation/" rel="prev" aria-label="Previous: Fluid / Liquid Simulation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Fluid / Liquid Simulation</span></a><a href="../webgl-shader-animation/" rel="next" aria-label="Next: WebGL Shader Animation"><span><span class="hb-dir">Next: </span>WebGL Shader Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -200,6 +201,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/gpgpu-particle-system/index.html b/animations/06-3d-advanced/gpgpu-particle-system/index.htmlindex cd5db9c0..d9bf0112 100644--- a/animations/06-3d-advanced/gpgpu-particle-system/index.html+++ b/animations/06-3d-advanced/gpgpu-particle-system/index.html@@ -27,13 +27,14 @@canvas{display:block;width:100%;height:100%}.no-wgl2{position:absolute;inset:0;display:none;align-items:center;justify-content:center;padding:clamp(16px,4vw,32px);background:#060a10;font-size:13px;line-height:1.7;text-align:center;color:rgba(255,255,255,.72);white-space:pre-wrap;overflow-y:auto}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../ray-marching-sdf/" rel="prev" aria-label="Previous: Ray Marching / SDF Scene"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Ray Marching / SDF Scene</span></a><a href="../image-distortion-hover/" rel="next" aria-label="Next: Image Distortion on Hover"><span><span class="hb-dir">Next: </span>Image Distortion on Hover</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -128,6 +129,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/holographic-card/index.html b/animations/06-3d-advanced/holographic-card/index.htmlindex ce36a517..aefb4cad 100644--- a/animations/06-3d-advanced/holographic-card/index.html+++ b/animations/06-3d-advanced/holographic-card/index.html@@ -62,13 +62,14 @@.card.split .ly{will-change:transform;box-shadow:inset 0 0 0 1px rgba(var(--hc-light),.3)}@media(prefers-reduced-motion:reduce){.card{touch-action:auto}.foil,.spot{transition:opacity .3s}} /* nothing moves: only fades */</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../liquid-glass/" rel="prev" aria-label="Previous: Liquid Glass"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Liquid Glass</span></a><a href="../infinite-zoom/" rel="next" aria-label="Next: Infinite Zoom"><span><span class="hb-dir">Next: </span>Infinite Zoom</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -180,6 +181,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/image-distortion-hover/index.html b/animations/06-3d-advanced/image-distortion-hover/index.htmlindex f6d569b5..c268208c 100644--- a/animations/06-3d-advanced/image-distortion-hover/index.html+++ b/animations/06-3d-advanced/image-distortion-hover/index.html@@ -29,13 +29,14 @@canvas{display:block;width:100%;height:100%;touch-action:none}.fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:clamp(16px,4vw,32px);font-size:13px;line-height:1.7;color:rgba(255,255,255,.72);white-space:pre-wrap;overflow-y:auto}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../gpgpu-particle-system/" rel="prev" aria-label="Previous: GPGPU Particle System"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>GPGPU Particle System</span></a><a href="../cloth-simulation/" rel="next" aria-label="Next: Cloth / Soft-Body Simulation"><span><span class="hb-dir">Next: </span>Cloth / Soft-Body Simulation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -128,6 +129,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/infinite-zoom/index.html b/animations/06-3d-advanced/infinite-zoom/index.htmlindex 7a29662c..1c6bca75 100644--- a/animations/06-3d-advanced/infinite-zoom/index.html+++ b/animations/06-3d-advanced/infinite-zoom/index.html@@ -26,13 +26,14 @@.stage{--bg:#0b0b0d;position:relative;overflow:hidden;background:var(--bg)}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../holographic-card/" rel="prev" aria-label="Previous: Holographic Card"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Holographic Card</span></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -115,6 +116,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/liquid-glass/index.html b/animations/06-3d-advanced/liquid-glass/index.htmlindex 5725963c..8b100a1f 100644--- a/animations/06-3d-advanced/liquid-glass/index.html+++ b/animations/06-3d-advanced/liquid-glass/index.html@@ -54,13 +54,14 @@gives it back, down to the shared 260px, and the player bar stays where it is in Chrome. --lg-vh: the small viewport height where known */@supports(height:1svh){.stage{--lg-vh:1svh}}@media(min-width:601px){.hb-page .stage.lg-frost{--hb-stage-h:clamp(300px,calc(100 * var(--lg-vh) - 444px),440px)}}@media(min-width:601px) and (max-height:760px){.hb-page .stage.lg-frost{--hb-stage-h:clamp(260px,calc(100 * var(--lg-vh) - 354px),440px)}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../physics-2d/" rel="prev" aria-label="Previous: 2D Physics"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>2D Physics</span></a><a href="../holographic-card/" rel="next" aria-label="Next: Holographic Card"><span><span class="hb-dir">Next: </span>Holographic Card</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -159,6 +160,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/morphing-blob/index.html b/animations/06-3d-advanced/morphing-blob/index.htmlindex c8c54742..0f17e8e9 100644--- a/animations/06-3d-advanced/morphing-blob/index.html+++ b/animations/06-3d-advanced/morphing-blob/index.html@@ -26,13 +26,14 @@.stage{position:relative;background:radial-gradient(circle at 50% 42%,#141024,var(--stage) 70%);touch-action:none;cursor:crosshair}.stage svg{position:absolute;inset:0;width:100%;height:100%;display:block}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../volumetric-smoke/" rel="prev" aria-label="Previous: Volumetric Smoke / 3D Noise"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Volumetric Smoke / 3D Noise</span></a><a href="../flip-card-3d/" rel="next" aria-label="Next: 3D Flip Card"><span><span class="hb-dir">Next: </span>3D Flip Card</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -126,6 +127,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/noise-based-motion/index.html b/animations/06-3d-advanced/noise-based-motion/index.htmlindex ee3da93b..499b667e 100644--- a/animations/06-3d-advanced/noise-based-motion/index.html+++ b/animations/06-3d-advanced/noise-based-motion/index.html@@ -26,13 +26,14 @@.stage{background:#0b0b0d}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../webgl-shader-animation/" rel="prev" aria-label="Previous: WebGL Shader Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>WebGL Shader Animation</span></a><a href="../svg-path-animation/" rel="next" aria-label="Next: SVG Path Animation"><span><span class="hb-dir">Next: </span>SVG Path Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -141,6 +142,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/parallax-3d-tilt/index.html b/animations/06-3d-advanced/parallax-3d-tilt/index.htmlindex de2bff02..ff9b414a 100644--- a/animations/06-3d-advanced/parallax-3d-tilt/index.html+++ b/animations/06-3d-advanced/parallax-3d-tilt/index.html@@ -63,13 +63,14 @@/* The card snaps flat when the pointer leaves instead of easing back */@media(prefers-reduced-motion:reduce){.tilt-card{transition:none!important}.card-shine{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scroll-driven-3d-rotation/" rel="prev" aria-label="Previous: Scroll-Driven 3D Rotation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scroll-Driven 3D Rotation</span></a><a href="../canvas-particle-effect/" rel="next" aria-label="Next: Canvas Particle Effect"><span><span class="hb-dir">Next: </span>Canvas Particle Effect</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -169,6 +170,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/physics-2d/index.html b/animations/06-3d-advanced/physics-2d/index.htmlindex 75ef10ca..3838ba07 100644--- a/animations/06-3d-advanced/physics-2d/index.html+++ b/animations/06-3d-advanced/physics-2d/index.html@@ -29,13 +29,14 @@font-size:clamp(15px,2vw,18px);font-weight:600;color:var(--hint);transition:opacity .3s}.hint.gone{opacity:0}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="do" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../ascii-halftone/" rel="prev" aria-label="Previous: ASCII / Halftone"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>ASCII / Halftone</span></a><a href="../liquid-glass/" rel="next" aria-label="Next: Liquid Glass"><span><span class="hb-dir">Next: </span>Liquid Glass</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -120,6 +121,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/ray-marching-sdf/index.html b/animations/06-3d-advanced/ray-marching-sdf/index.htmlindex 098e6be4..c276fec2 100644--- a/animations/06-3d-advanced/ray-marching-sdf/index.html+++ b/animations/06-3d-advanced/ray-marching-sdf/index.html@@ -28,13 +28,14 @@.fallback{position:absolute;inset:0;display:none;flex-direction:column;justify-content:center;gap:8px;padding:clamp(16px,5vw,32px);background:#0b0b0d;font-size:13px;line-height:1.7;color:rgba(255,255,255,.72);overflow-y:auto;white-space:pre-wrap}.fallback strong{color:#f4f4f2;font-weight:600}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../2-5d-pseudo-3d/" rel="prev" aria-label="Previous: 2.5D / Pseudo-3D"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>2.5D / Pseudo-3D</span></a><a href="../gpgpu-particle-system/" rel="next" aria-label="Next: GPGPU Particle System"><span><span class="hb-dir">Next: </span>GPGPU Particle System</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -127,6 +128,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/scroll-driven-3d-rotation/index.html b/animations/06-3d-advanced/scroll-driven-3d-rotation/index.htmlindex 529df657..fd2112f7 100644--- a/animations/06-3d-advanced/scroll-driven-3d-rotation/index.html+++ b/animations/06-3d-advanced/scroll-driven-3d-rotation/index.html@@ -48,13 +48,14 @@.face.bottom{background:rgba(88,166,255,.03);transform:rotateX(-90deg) translateZ(calc(var(--cube)/2))}@media(prefers-reduced-motion:reduce){.obj-wrap{transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="scroll" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../3d-model-orbit/" rel="prev" aria-label="Previous: 3D Model Orbit"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>3D Model Orbit</span></a><a href="../parallax-3d-tilt/" rel="next" aria-label="Next: Parallax 3D Tilt"><span><span class="hb-dir">Next: </span>Parallax 3D Tilt</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -130,6 +131,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/svg-path-animation/index.html b/animations/06-3d-advanced/svg-path-animation/index.htmlindex 4839cc14..56685dfc 100644--- a/animations/06-3d-advanced/svg-path-animation/index.html+++ b/animations/06-3d-advanced/svg-path-animation/index.html@@ -35,13 +35,14 @@.draw-path.fill-done{fill:var(--stroke-color);transition:fill var(--fill-dur) ease}@media(prefers-reduced-motion:reduce){.draw-path{stroke-dashoffset:0!important;transition:none!important}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="once" data-hb-autoplay><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../noise-based-motion/" rel="prev" aria-label="Previous: Noise-Based Motion"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Noise-Based Motion</span></a><a href="../chromatic-aberration/" rel="next" aria-label="Next: Chromatic Aberration"><span><span class="hb-dir">Next: </span>Chromatic Aberration</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -153,6 +154,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/volumetric-smoke/index.html b/animations/06-3d-advanced/volumetric-smoke/index.htmlindex 78af0492..083af040 100644--- a/animations/06-3d-advanced/volumetric-smoke/index.html+++ b/animations/06-3d-advanced/volumetric-smoke/index.html@@ -28,13 +28,14 @@.msg{position:absolute;inset:0;display:none;align-items:center;justify-content:center;text-align:center;padding:clamp(16px,4vw,32px);font-size:13px;line-height:1.7;color:rgba(255,255,255,.72);white-space:pre-wrap;overflow-y:auto}.msg.on{display:flex}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../cloth-simulation/" rel="prev" aria-label="Previous: Cloth / Soft-Body Simulation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Cloth / Soft-Body Simulation</span></a><a href="../morphing-blob/" rel="next" aria-label="Next: Morphing Blob"><span><span class="hb-dir">Next: </span>Morphing Blob</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -133,6 +134,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/06-3d-advanced/webgl-shader-animation/index.html b/animations/06-3d-advanced/webgl-shader-animation/index.htmlindex 07dc5b4b..9bddec31 100644--- a/animations/06-3d-advanced/webgl-shader-animation/index.html+++ b/animations/06-3d-advanced/webgl-shader-animation/index.html@@ -28,13 +28,14 @@.gl-msg{position:absolute;inset:0;display:none;align-items:center;justify-content:center;text-align:center;padding:clamp(16px,4vw,32px);font-size:13px;line-height:1.7;color:rgba(255,255,255,.72);white-space:pre-wrap;overflow-y:auto}.gl-msg.on{display:flex}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../glassmorphism-animated/" rel="prev" aria-label="Previous: Glassmorphism Animated"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Glassmorphism Animated</span></a><a href="../noise-based-motion/" rel="next" aria-label="Next: Noise-Based Motion"><span><span class="hb-dir">Next: </span>Noise-Based Motion</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -111,6 +112,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/abstract-geometric-motion/index.html b/animations/07-ambient-background/abstract-geometric-motion/index.htmlindex e82b02e4..2c35ef7e 100644--- a/animations/07-ambient-background/abstract-geometric-motion/index.html+++ b/animations/07-ambient-background/abstract-geometric-motion/index.html@@ -26,13 +26,14 @@.stage{position:relative;overflow:hidden;background:#020408}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../grid-dot-pattern-parallax/" rel="prev" aria-label="Previous: Grid / Dot Pattern Parallax"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Grid / Dot Pattern Parallax</span></a><a href="../particle-constellation/" rel="next" aria-label="Next: Particle Constellation"><span><span class="hb-dir">Next: </span>Particle Constellation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -127,6 +128,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/ambient-ripple/index.html b/animations/07-ambient-background/ambient-ripple/index.htmlindex 8023c602..b7d502d3 100644--- a/animations/07-ambient-background/ambient-ripple/index.html+++ b/animations/07-ambient-background/ambient-ripple/index.html@@ -33,13 +33,14 @@@media(max-width:600px),(max-height:760px){.fg-card{bottom:12px;padding:12px 14px}.fg-eyebrow{margin-bottom:4px}.fg-title{margin-bottom:0}.fg-body{display:none}}@media(max-width:600px){.fg-card{padding:12px}.fg-title{font-size:13px}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../breathing-glow/" rel="prev" aria-label="Previous: Breathing / Pulsing Glow"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Breathing / Pulsing Glow</span></a><a href="../floating-elements/" rel="next" aria-label="Next: Floating Elements"><span><span class="hb-dir">Next: </span>Floating Elements</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -162,6 +163,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/animated-gradient-background/index.html b/animations/07-ambient-background/animated-gradient-background/index.htmlindex c1ae9317..48d2c04d 100644--- a/animations/07-ambient-background/animated-gradient-background/index.html+++ b/animations/07-ambient-background/animated-gradient-background/index.html@@ -55,13 +55,14 @@.fg-body{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../mesh-gradient/" rel="next" aria-label="Next: Mesh Gradient Animation"><span><span class="hb-dir">Next: </span>Mesh Gradient Animation</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -151,6 +152,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/aurora/index.html b/animations/07-ambient-background/aurora/index.htmlindex 45fb73dd..487d96c4 100644--- a/animations/07-ambient-background/aurora/index.html+++ b/animations/07-ambient-background/aurora/index.html@@ -66,13 +66,14 @@.fg-body{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../mesh-gradient/" rel="prev" aria-label="Previous: Mesh Gradient Animation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Mesh Gradient Animation</span></a><a href="../grain-overlay/" rel="next" aria-label="Next: Grain / Film Noise Overlay"><span><span class="hb-dir">Next: </span>Grain / Film Noise Overlay</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -180,6 +181,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/breathing-glow/index.html b/animations/07-ambient-background/breathing-glow/index.htmlindex 8fd302f0..d07c4327 100644--- a/animations/07-ambient-background/breathing-glow/index.html+++ b/animations/07-ambient-background/breathing-glow/index.html@@ -55,13 +55,14 @@50%{transform:scale(1.02);opacity:1}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../starfield/" rel="prev" aria-label="Previous: Starfield / Space Particles"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Starfield / Space Particles</span></a><a href="../ambient-ripple/" rel="next" aria-label="Next: Ambient Ripple Effect"><span><span class="hb-dir">Next: </span>Ambient Ripple Effect</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -167,6 +168,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/fireworks/index.html b/animations/07-ambient-background/fireworks/index.htmlindex 4e7a3eaa..1549f34e 100644--- a/animations/07-ambient-background/fireworks/index.html+++ b/animations/07-ambient-background/fireworks/index.html@@ -28,13 +28,14 @@canvas{position:absolute;inset:0;display:block;width:100%;height:100%}.city{position:absolute;left:0;bottom:0;width:100%;height:24%;display:block}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../snow-rain/" rel="prev" aria-label="Previous: Snow / Rain"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Snow / Rain</span></a><a href="../topographic-lines/" rel="next" aria-label="Next: Topographic Lines"><span><span class="hb-dir">Next: </span>Topographic Lines</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -127,6 +128,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/floating-elements/index.html b/animations/07-ambient-background/floating-elements/index.htmlindex 045ac1ae..bdcd24e0 100644--- a/animations/07-ambient-background/floating-elements/index.html+++ b/animations/07-ambient-background/floating-elements/index.html@@ -33,13 +33,14 @@/* On phones and short screens the card shrinks to leave the shapes in view */@media(max-width:600px),(max-height:760px){.fg-card{padding:12px 14px}.fg-eyebrow{margin-bottom:4px}.fg-title{margin-bottom:0}.fg-body{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../ambient-ripple/" rel="prev" aria-label="Previous: Ambient Ripple Effect"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Ambient Ripple Effect</span></a><a href="../grid-dot-pattern-parallax/" rel="next" aria-label="Next: Grid / Dot Pattern Parallax"><span><span class="hb-dir">Next: </span>Grid / Dot Pattern Parallax</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -156,6 +157,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/flow-field/index.html b/animations/07-ambient-background/flow-field/index.htmlindex 3df2106c..13ee9d20 100644--- a/animations/07-ambient-background/flow-field/index.html+++ b/animations/07-ambient-background/flow-field/index.html@@ -26,13 +26,14 @@.stage{position:relative;overflow:hidden;background:#05060a}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../particle-constellation/" rel="prev" aria-label="Previous: Particle Constellation"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Particle Constellation</span></a><a href="../synthwave-grid/" rel="next" aria-label="Next: Synthwave Grid"><span><span class="hb-dir">Next: </span>Synthwave Grid</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -131,6 +132,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/game-of-life/index.html b/animations/07-ambient-background/game-of-life/index.htmlindex 52d89403..97cb4e6b 100644--- a/animations/07-ambient-background/game-of-life/index.html+++ b/animations/07-ambient-background/game-of-life/index.html@@ -27,13 +27,14 @@/* the cells are drawn with a pen: a finger on the stage draws instead of scrolling the page */canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../light-rays/" rel="prev" aria-label="Previous: Light Rays"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Light Rays</span></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -132,6 +133,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/grain-overlay/index.html b/animations/07-ambient-background/grain-overlay/index.htmlindex 55260157..cc308e7a 100644--- a/animations/07-ambient-background/grain-overlay/index.html+++ b/animations/07-ambient-background/grain-overlay/index.html@@ -39,13 +39,14 @@.grain-filter-wrap{position:absolute;inset:0;pointer-events:none;z-index:5;opacity:var(--grain-op);mix-blend-mode:var(--grain-blend);display:none}.grain-filter-wrap rect{width:100%;height:100%;filter:url(#grain-filter)}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../aurora/" rel="prev" aria-label="Previous: Aurora / Northern Lights"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Aurora / Northern Lights</span></a><a href="../scanline/" rel="next" aria-label="Next: Scanline Effect"><span><span class="hb-dir">Next: </span>Scanline Effect</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -158,6 +159,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/grid-dot-pattern-parallax/index.html b/animations/07-ambient-background/grid-dot-pattern-parallax/index.htmlindex 3f99c1f2..c6550f5d 100644--- a/animations/07-ambient-background/grid-dot-pattern-parallax/index.html+++ b/animations/07-ambient-background/grid-dot-pattern-parallax/index.html@@ -44,13 +44,14 @@/* On phones and short screens the stage is small, so the card shrinks to leave the grid in view */@media(max-width:600px),(max-height:760px){.fg-card{padding:12px 14px}.fg-eyebrow{margin-bottom:4px}.fg-title{margin-bottom:0}.fg-body{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../floating-elements/" rel="prev" aria-label="Previous: Floating Elements"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Floating Elements</span></a><a href="../abstract-geometric-motion/" rel="next" aria-label="Next: Abstract Geometric Motion"><span><span class="hb-dir">Next: </span>Abstract Geometric Motion</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -161,6 +162,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/light-leak/index.html b/animations/07-ambient-background/light-leak/index.htmlindex 36bfdc31..4d915d44 100644--- a/animations/07-ambient-background/light-leak/index.html+++ b/animations/07-ambient-background/light-leak/index.html@@ -37,13 +37,14 @@.bokeh{position:absolute;border-radius:50%;pointer-events:none;z-index:4;animation:bokeh-float linear both;filter:blur(8px)}@keyframes bokeh-float{from{transform:translateY(100%) scale(0);opacity:0}20%{opacity:.8}80%{opacity:.5}to{transform:translateY(-120%) scale(1.5);opacity:0}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../scanline/" rel="prev" aria-label="Previous: Scanline Effect"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Scanline Effect</span></a><a href="../starfield/" rel="next" aria-label="Next: Starfield / Space Particles"><span><span class="hb-dir">Next: </span>Starfield / Space Particles</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -152,6 +153,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/light-rays/index.html b/animations/07-ambient-background/light-rays/index.htmlindex 60acfdfa..65964a4d 100644--- a/animations/07-ambient-background/light-rays/index.html+++ b/animations/07-ambient-background/light-rays/index.html@@ -32,13 +32,14 @@.fg-eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.9);margin-bottom:6px}.fg-title{font-size:clamp(18px,3.2vw,28px);font-weight:800;line-height:1.2;color:#fff;text-wrap:balance}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../topographic-lines/" rel="prev" aria-label="Previous: Topographic Lines"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Topographic Lines</span></a><a href="../game-of-life/" rel="next" aria-label="Next: Game of Life"><span><span class="hb-dir">Next: </span>Game of Life</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -134,6 +135,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/matrix-rain/index.html b/animations/07-ambient-background/matrix-rain/index.htmlindex 9b7c5247..ba101b0e 100644--- a/animations/07-ambient-background/matrix-rain/index.html+++ b/animations/07-ambient-background/matrix-rain/index.html@@ -26,13 +26,14 @@.stage{position:relative;overflow:hidden;background:#000}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../synthwave-grid/" rel="prev" aria-label="Previous: Synthwave Grid"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Synthwave Grid</span></a><a href="../plasma/" rel="next" aria-label="Next: Plasma Field"><span><span class="hb-dir">Next: </span>Plasma Field</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -125,6 +126,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/mesh-gradient/index.html b/animations/07-ambient-background/mesh-gradient/index.htmlindex 1431f651..6d5b103f 100644--- a/animations/07-ambient-background/mesh-gradient/index.html+++ b/animations/07-ambient-background/mesh-gradient/index.html@@ -50,13 +50,14 @@.fg-body{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../animated-gradient-background/" rel="prev" aria-label="Previous: Animated Gradient Background"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Animated Gradient Background</span></a><a href="../aurora/" rel="next" aria-label="Next: Aurora / Northern Lights"><span><span class="hb-dir">Next: </span>Aurora / Northern Lights</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -167,6 +168,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/particle-constellation/index.html b/animations/07-ambient-background/particle-constellation/index.htmlindex ee8812f2..46985e0d 100644--- a/animations/07-ambient-background/particle-constellation/index.html+++ b/animations/07-ambient-background/particle-constellation/index.html@@ -26,13 +26,14 @@.stage{position:relative;overflow:hidden;background:#06070c}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../abstract-geometric-motion/" rel="prev" aria-label="Previous: Abstract Geometric Motion"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Abstract Geometric Motion</span></a><a href="../flow-field/" rel="next" aria-label="Next: Flow Field"><span><span class="hb-dir">Next: </span>Flow Field</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -126,6 +127,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/plasma/index.html b/animations/07-ambient-background/plasma/index.htmlindex f87d682e..2f18a1ce 100644--- a/animations/07-ambient-background/plasma/index.html+++ b/animations/07-ambient-background/plasma/index.html@@ -26,13 +26,14 @@.stage{position:relative;overflow:hidden;background:#000}.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../matrix-rain/" rel="prev" aria-label="Previous: Matrix Rain"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Matrix Rain</span></a><a href="../wave-layers/" rel="next" aria-label="Next: Wave Layers"><span><span class="hb-dir">Next: </span>Wave Layers</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -122,6 +123,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/scanline/index.html b/animations/07-ambient-background/scanline/index.htmlindex 9688a4c4..6b3e0fc1 100644--- a/animations/07-ambient-background/scanline/index.html+++ b/animations/07-ambient-background/scanline/index.html@@ -64,13 +64,14 @@/* Glowing text (via CSS on terminal) */.phosphor .term-line{text-shadow:0 0 8px #58a6ff,0 0 20px rgba(88,166,255,.3)}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../grain-overlay/" rel="prev" aria-label="Previous: Grain / Film Noise Overlay"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Grain / Film Noise Overlay</span></a><a href="../light-leak/" rel="next" aria-label="Next: Light Leak"><span><span class="hb-dir">Next: </span>Light Leak</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -183,6 +184,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/snow-rain/index.html b/animations/07-ambient-background/snow-rain/index.htmlindex f7c81918..bec98561 100644--- a/animations/07-ambient-background/snow-rain/index.html+++ b/animations/07-ambient-background/snow-rain/index.html@@ -29,13 +29,14 @@.town{position:absolute;left:0;bottom:0;width:100%;height:34%;display:block}canvas{position:absolute;inset:0;display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../wave-layers/" rel="prev" aria-label="Previous: Wave Layers"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Wave Layers</span></a><a href="../fireworks/" rel="next" aria-label="Next: Fireworks"><span><span class="hb-dir">Next: </span>Fireworks</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -124,6 +125,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/starfield/index.html b/animations/07-ambient-background/starfield/index.htmlindex ee38cdf3..08eabe84 100644--- a/animations/07-ambient-background/starfield/index.html+++ b/animations/07-ambient-background/starfield/index.html@@ -37,13 +37,14 @@.fg-body{display:none}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../light-leak/" rel="prev" aria-label="Previous: Light Leak"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Light Leak</span></a><a href="../breathing-glow/" rel="next" aria-label="Next: Breathing / Pulsing Glow"><span><span class="hb-dir">Next: </span>Breathing / Pulsing Glow</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -144,6 +145,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/synthwave-grid/index.html b/animations/07-ambient-background/synthwave-grid/index.htmlindex 2d8cbaee..56697af7 100644--- a/animations/07-ambient-background/synthwave-grid/index.html+++ b/animations/07-ambient-background/synthwave-grid/index.html@@ -26,13 +26,14 @@.stage{position:relative;overflow:hidden;background:#0a0316}canvas{display:block;width:100%;height:100%}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../flow-field/" rel="prev" aria-label="Previous: Flow Field"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Flow Field</span></a><a href="../matrix-rain/" rel="next" aria-label="Next: Matrix Rain"><span><span class="hb-dir">Next: </span>Matrix Rain</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -108,6 +109,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/topographic-lines/index.html b/animations/07-ambient-background/topographic-lines/index.htmlindex 75a4f413..4e1dba7e 100644--- a/animations/07-ambient-background/topographic-lines/index.html+++ b/animations/07-ambient-background/topographic-lines/index.html@@ -28,13 +28,14 @@/* A soft dark edge, like the worn border of a printed map */.stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 58%,rgba(0,0,0,.5))}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../fireworks/" rel="prev" aria-label="Previous: Fireworks"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Fireworks</span></a><a href="../light-rays/" rel="next" aria-label="Next: Light Rays"><span><span class="hb-dir">Next: </span>Light Rays</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -128,6 +129,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/animations/07-ambient-background/wave-layers/index.html b/animations/07-ambient-background/wave-layers/index.htmlindex 1de118ed..16ae3fe2 100644--- a/animations/07-ambient-background/wave-layers/index.html+++ b/animations/07-ambient-background/wave-layers/index.html@@ -53,13 +53,14 @@@keyframes drift{to{transform:translateX(-50%)}}@keyframes bob{from{transform:translateY(-1.2cqh)}to{transform:translateY(1.2cqh)}}</style>- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=7">- <script src="../../../assets/js/demo-page.js?v=7" defer></script>+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=8">+ <script src="../../../assets/js/demo-page.js?v=8" defer></script></head><body class="hb" data-hb-kind="loop"><nav class="hb-bar" aria-label="Animation Handbook"><a class="hb-home" href="../../../"><svg class="hb-mark" viewBox="0 0 32 32" aria-hidden="true"><g class="g"><circle cx="11.16" cy="20.84" r="6.1"/><circle cx="15.12" cy="16.88" r="6.1"/><circle cx="18.51" cy="13.49" r="6.1"/></g><circle class="b" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a><span class="hb-pager"><a href="../plasma/" rel="prev" aria-label="Previous: Plasma Field"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg><span><span class="hb-dir">Previous: </span>Plasma Field</span></a><a href="../snow-rain/" rel="next" aria-label="Next: Snow / Rain"><span><span class="hb-dir">Next: </span>Snow / Rain</span><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a></span>+ <a class="hb-star" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer" aria-label="Star on GitHub"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg><span>Star<span class="hb-star-more"> on GitHub</span></span></a></nav><main class="hb-page"><header class="hb-head">@@ -157,6 +158,7 @@<p class="hb-hint">Replace the words in brackets with your own element. Your settings are added at the end.</p></div></div>+ <div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>Star on GitHub</a></div></section><section class="hb-about" aria-labelledby="hb-what-title">diff --git a/assets/css/demo-page.css b/assets/css/demo-page.cssindex 345be26a..0b17369e 100644--- a/assets/css/demo-page.css+++ b/assets/css/demo-page.css@@ -37,6 +37,10 @@ body.hb [hidden]{display:none!important}/* The page name inside a pager link: cut with an ellipsis; the taller line box keeps descenders from being clipped */.hb-pager a > span{min-width:0;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.hb-bar .hb-ic{width:16px;height:16px}+/* The Star link: the last item of the top bar, beside the pager. Computers read "Star on GitHub", tablets "Star" (the words+ go with "Previous: " and "Next: "), and phones leave it out: the star row under the prompt card is theirs. */+.hb-bar .hb-pager{margin-left:auto}+.hb-bar .hb-star{flex:none;padding:0 14px;border:1px solid var(--hb-edge);border-radius:999px;color:var(--hb-soft)}/* The page: one centred column */.hb-page{box-sizing:border-box;width:100%;max-width:1040px;margin:0 auto;@@ -153,6 +157,12 @@ textarea.hb-text{min-height:88px;padding:10px 12px;resize:vertical}border-radius:8px;background:var(--hb-ink);color:#0b0b0d;font:700 16px/1 var(--hb-font);cursor:pointer}.hb-copy .hb-i-done,.hb-copy.is-done .hb-i-copy{display:none}.hb-copy.is-done .hb-i-done{display:inline}+/* Under the prompt card: a sentence and an outline Star on GitHub button (full width on phones) */+.hb-star-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}+.hb-star-row p{flex:1 1 260px;margin:0;font:400 15px/1.5 var(--hb-font);color:var(--hb-dim)}+.hb-star-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;+ border:1px solid var(--hb-edge);border-radius:999px;color:var(--hb-ink);text-decoration:none;font:600 15px/1 var(--hb-font)}+.hb-star-btn .hb-ic{width:16px;height:16px}/* About and related animations */.hb-about{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,5vw,48px);padding-top:clamp(28px,4vw,36px);@@ -179,6 +189,7 @@ textarea.hb-text{min-height:88px;padding:10px 12px;resize:vertical}@media(hover:hover){.hb-bar a:hover{color:var(--hb-ink)}+ .hb-bar .hb-star:hover,.hb-star-btn:hover{border-color:var(--hb-edge-2);color:var(--hb-ink)}.hb-play:hover,.hb-toggle:hover,.hb-switch-row:hover{border-color:var(--hb-edge-2)}.hb-page .seg button:hover{border-color:rgba(255,255,255,.34);color:var(--hb-ink)}.hb-page .seg button.on:hover,.hb-page .seg button[aria-pressed="true"]:hover{border-color:var(--hb-accent);color:var(--hb-accent)}@@ -193,9 +204,10 @@ textarea.hb-text{min-height:88px;padding:10px 12px;resize:vertical}@media(max-width:759px){.hb-settings,.hb-about{grid-template-columns:minmax(0,1fr)}}-/* Tablets and phones: the "Previous: " / "Next: " words go, so two page names fit beside the home link */+/* Tablets and phones: the "Previous: " / "Next: " words and the Star link's " on GitHub" go, so two page names fit+ beside the home link */@media(max-width:1024px){- .hb-bar .hb-dir{display:none}+ .hb-bar .hb-dir,.hb-bar .hb-star-more{display:none}}/* The narrowest phones (down to 320px): the full home link and the two chevron links only fit on one line with a littleless spacing and type. The home link keeps all its text. */@@ -237,6 +249,8 @@ textarea.hb-text{min-height:88px;padding:10px 12px;resize:vertical}.hb-prompt.is-clamped{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.hb-prompt-more{display:inline-flex;align-items:center}.hb-copy{width:100%}+ .hb-bar .hb-star{display:none}+ .hb-star-btn{width:100%}.hb-foot{justify-content:space-between}.hb-foot>span{flex-basis:100%}}diff --git a/index.html b/index.htmlindex ce281f9a..a7710ff0 100644--- a/index.html+++ b/index.html@@ -51,7 +51,7 @@// throws, and the system's setting must still count. The browser's bar (theme-color) takes the page's background of the theme.function setTheme(t){document.documentElement.dataset.theme=t;document.querySelector('meta[name="theme-color"]').content=t==='dark'?'#0e0e11':'#f8f7f4';}(function(){var t=matchMedia('(prefers-color-scheme: light)').matches?'light':'dark';try{t=localStorage.getItem('ah-theme')||t;}catch(e){}setTheme(t);})();</script>-<script src="assets/js/demo-page.js?v=7" defer></script>+<script src="assets/js/demo-page.js?v=8" defer></script><style>@font-face{font-family:'Schibsted Grotesk';src:url('assets/fonts/schibsted-latin-ext.woff2') format('woff2');font-weight:400 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Schibsted Grotesk';src:url('assets/fonts/schibsted-latin.woff2') format('woff2');font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}diff --git a/tests/pages.test.js b/tests/pages.test.jsindex 1a960a60..68e81cda 100644--- a/tests/pages.test.js+++ b/tests/pages.test.js@@ -455,6 +455,33 @@ test('every guided-steps page has the same footer, with a link to the source on'pages without exactly this footer');});+// The Star link at the end of every page's top bar and the star row under its prompt card, the same on every page+// (docs/superpowers/specs/2026-10-12-star-button-design.md).+const STAR_ICON = '<svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/></svg>';+const STAR_HREF = 'href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer"';+const BAR_STAR = `<a class="hb-star" ${STAR_HREF} aria-label="Star on GitHub">${STAR_ICON}<span>Star<span class="hb-star-more"> on GitHub</span></span></a>`;+const STAR_ROW = `<div class="hb-star-row"><p>Free and open source. If this helped, a star on GitHub helps other people find it.</p><a class="hb-star-btn" ${STAR_HREF}>${STAR_ICON}Star on GitHub</a></div>`;+test('every guided-steps page asks for a star at the end of its top bar and under its prompt card', () => {+ const lastAfter = (part, piece, before) => part.trimEnd().endsWith(piece) &&+ part.slice(0, part.lastIndexOf(piece)).trimEnd().endsWith(before);+ const wrong = steps.filter(d => {+ const html = pageOf(d);+ const bar = between(html, '<nav class="hb-bar"', '</nav>');+ const promptStep = between(html, '<section class="hb-step hb-prompt-step"', '</section>');+ return count(html, BAR_STAR) !== 1 || !lastAfter(bar, BAR_STAR, '</span>') ||+ count(html, STAR_ROW) !== 1 || !lastAfter(promptStep, STAR_ROW, '</div>');+ }).map(d => `${d.cat}/${d.slug}`);+ assert.deepEqual(wrong, [], 'pages without the Star link right after the pager, or without the star row right after the prompt card');+});++test('the shared stylesheet shortens the Star link to "Star" on tablets and leaves it to the star row on phones', () => {+ const css = read(path.join(ROOT, 'assets/css/demo-page.css')).replace(/\/\*[\s\S]*?\*\//g, '');+ const hides = (media, selector) => cssRules(between(css, `@media(${media}){`, '\n}'))+ .some(rule => rule.selector.split(',').some(part => part.trim() === selector) && /(^|;)\s*display:\s*none\s*(;|$)/.test(rule.body));+ assert.ok(hides('max-width:1024px', '.hb-bar .hb-star-more'), 'tablets read "Star"');+ assert.ok(hides('max-width:600px', '.hb-bar .hb-star'), 'phones leave the Star link out of the top bar');+});+const sharedRules = cssRules(read(path.join(ROOT, 'assets/css/demo-page.css')));const rulesFor = selector => sharedRules.filter(rule => rule.selector.split(',').some(part => part.trim() === selector));diff --git a/tools/check-pages.mjs b/tools/check-pages.mjsindex 73df07de..648924e6 100644--- a/tools/check-pages.mjs+++ b/tools/check-pages.mjs@@ -87,7 +87,7 @@ const CHECK = `(() => {// Measured against clientWidth: under mobile emulation the browser widens innerWidth to fit overflowing content.if (document.documentElement.scrollWidth > document.documentElement.clientWidth + 1) problems.push('horizontal overflow');if (phone) {- const small = [...document.querySelectorAll('.hb-bar a, .hb-page button, .hb-page summary, .hb-page select, .hb-page input[type=range], .hb-page .hb-text, label.hb-toggle, label.hb-switch-row, .hb-foot a, .hb-rel')]+ const small = [...document.querySelectorAll('.hb-bar a, .hb-page button, .hb-page summary, .hb-page select, .hb-page input[type=range], .hb-page .hb-text, label.hb-toggle, label.hb-switch-row, .hb-foot a, .hb-star-row a, .hb-rel')].filter(el => el.getClientRects().length && !el.closest('.stage')).filter(el => { const b = r(el); return b.width < 44 || b.height < 44; }).map(el => el.tagName.toLowerCase() + (el.getAttribute('class') ? '.' + el.getAttribute('class').split(' ')[0] : '') + ' ' + Math.round(r(el).width) + 'x' + Math.round(r(el).height));