Skip to content

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.

feat: the home page's search knows everyday words, and the star ask after Copy prompt

matin7ed5b5c11c19
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 11dea83c..26ee5c5d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -43,6 +43,10 @@ The main steps of Animation Handbook, newest first, with the number of animation
- The home page: a row of place chips under Good places to start, a Famous effects band, and How it works in new words
(Pick an animation, See it move, Copy the prompt).
- New README pictures: a wall of six animations, three of them new, and a recording of today's home page.
+- The home page's search knows more everyday words: other names for an animation (lightbox, snackbar, navbar, tabs), common
+ misspellings (paralax, accordian) and British spellings (colour, grey). When nothing matches, Ask for it opens a short
+ GitHub form with your words filled in.
+- After you copy a prompt, the Star on GitHub button under it lights up once.
## 1.0.0 — 2026-10-10
diff --git a/CLAUDE.md b/CLAUDE.md
index a5d11cab..7fa842b9 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -61,7 +61,9 @@ The home page links `demo-page.js` too (its cards' Copy prompt builds the text w
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**;
- under the card, the star row (`div.hb-star-row`: a sentence and a **Star on GitHub** button).
+ under the card, the star row (`div.hb-star-row`: a sentence and a **Star on GitHub** button). The star ask: after the
+ first copy that works, the shared script marks the row `is-asked` and the button's edge and star turn gold, with one small
+ pulse where motion is welcome; nothing scrolls or takes focus.
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 every
page (copy it from a neighbor):
@@ -235,6 +237,14 @@ inside an entry's "Production notes" section, never as their own entry.
How 1–4 (the most visible movement first, then the ones a visitor might name instead). Tag what a visitor sees and would say,
not how it is built; a page transition answers `newpage`, a loop page `loop`, a Scroll-Based or scroll page `scroll`.
`tests/finder.test.js` checks the row and runs the finder's test set.
+ Give it extra search words in `WORDS` too, a row right after `FIND` in `CATS` order, when a visitor would type a word that
+ its name, places and description do not say: another everyday name for the effect (lightbox, snackbar), the part of a page
+ it is (navbar, tabs), a code library people name the technique by (aos) or a common misspelling: `'slug':'word word'`,
+ lowercase single words. Only words that truly mean the card, never the name of a company or of something it sells; a card
+ that needs none is left out. An extra word counts only when all of it is typed, or all but its ending, so it cannot take
+ over a search for a shorter word. A word used by many cards belongs in a `SAME` group instead (words that mean the same, as
+ word starts). `tests/pages.test.js` checks the rows; when the new card is one of the things that test lists as finding
+ nothing (dock, chart, checkbox), take it out there.
7. Update `animations/<category>/README.md` (its list of pages, and any other table there that names pages, such
as 07's Implementation summary) and the root `README.md` catalog (the card's name, linked to its live page
`https://matinmonshizadeh.github.io/animation-handbook/animations/<category>/<slug>/`, and its one-line
diff --git a/animations/01-scroll-based/counter-animation/index.html b/animations/01-scroll-based/counter-animation/index.html
index abea1147..8e2cf33c 100644
--- a/animations/01-scroll-based/counter-animation/index.html
+++ b/animations/01-scroll-based/counter-animation/index.html
@@ -93,8 +93,8 @@
.stage[data-hb-mode="compare"] .tile-num{font-size:min(24px,26cqw)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
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.html
index 5cfe9d83..a55e8b70 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
@@ -106,8 +106,8 @@
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
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.html
index a0812e72..b2e985fb 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
@@ -104,8 +104,8 @@
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/01-scroll-based/hide-on-scroll-header/index.html b/animations/01-scroll-based/hide-on-scroll-header/index.html
index 7dc6384b..07c71445 100644
--- a/animations/01-scroll-based/hide-on-scroll-header/index.html
+++ b/animations/01-scroll-based/hide-on-scroll-header/index.html
@@ -115,8 +115,8 @@
.stage[data-hb-mode="compare"].shrink .topbar.posed .nav,.stage[data-hb-mode="compare"].shrink .topbar.posed .menu{transform:translateY(9px) scale(.9)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/horizontal-scroll/index.html b/animations/01-scroll-based/horizontal-scroll/index.html
index 3e416ceb..6b314726 100644
--- a/animations/01-scroll-based/horizontal-scroll/index.html
+++ b/animations/01-scroll-based/horizontal-scroll/index.html
@@ -81,8 +81,8 @@
.cap-l{left:8px;top:8px}
.cap-r{left:calc(50cqw + 8px);top:8px}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/parallax-depth-of-field/index.html b/animations/01-scroll-based/parallax-depth-of-field/index.html
index 0a54e509..13fe43db 100644
--- a/animations/01-scroll-based/parallax-depth-of-field/index.html
+++ b/animations/01-scroll-based/parallax-depth-of-field/index.html
@@ -79,8 +79,8 @@
.stage[data-hb-mode="inside"] .drop{display:block}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/01-scroll-based/parallax-scrolling/index.html b/animations/01-scroll-based/parallax-scrolling/index.html
index 6d1b735d..f38df79f 100644
--- a/animations/01-scroll-based/parallax-scrolling/index.html
+++ b/animations/01-scroll-based/parallax-scrolling/index.html
@@ -77,8 +77,8 @@
/* Under reduced motion no layer moves, so each start outline would lie exactly on its card's edge: none is drawn */
@media(prefers-reduced-motion:reduce){.stage[data-hb-mode="inside"] .start{display:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/01-scroll-based/pin-animation/index.html b/animations/01-scroll-based/pin-animation/index.html
index 3dddeb73..3fb27813 100644
--- a/animations/01-scroll-based/pin-animation/index.html
+++ b/animations/01-scroll-based/pin-animation/index.html
@@ -92,8 +92,8 @@
font:600 13px/1.2 var(--hb-font);text-align:center}
@media(max-width:600px){.pin-inner{gap:14px;padding:16px}.phone-wrap svg{width:72px;height:131px}#phone-icon,.ph-title{display:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/progress-bar/index.html b/animations/01-scroll-based/progress-bar/index.html
index 1d24f163..70c8c0da 100644
--- a/animations/01-scroll-based/progress-bar/index.html
+++ b/animations/01-scroll-based/progress-bar/index.html
@@ -91,8 +91,8 @@
.stage[data-hb-mode="compare"] #circ{top:calc(50% + 9px)}
.stage[data-hb-mode="compare"] .scroller:focus-visible+.fx::after{content:"";position:absolute;inset:0;outline:2px solid var(--ui-accent);outline-offset:-2px}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/reveal-on-scroll/index.html b/animations/01-scroll-based/reveal-on-scroll/index.html
index 03dc3663..d07ff17c 100644
--- a/animations/01-scroll-based/reveal-on-scroll/index.html
+++ b/animations/01-scroll-based/reveal-on-scroll/index.html
@@ -118,8 +118,8 @@
.cap-left{left:12px}
.cap-right{left:calc(50% + 6px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/reverse-scrolling-columns/index.html b/animations/01-scroll-based/reverse-scrolling-columns/index.html
index f40d69bb..45c6e682 100644
--- a/animations/01-scroll-based/reverse-scrolling-columns/index.html
+++ b/animations/01-scroll-based/reverse-scrolling-columns/index.html
@@ -91,8 +91,8 @@
/* the windows stand on their starts, so no start outline is drawn */
.stage[data-hb-mode="inside"] .zs{display:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/01-scroll-based/scroll-background-color/index.html b/animations/01-scroll-based/scroll-background-color/index.html
index c6556f06..c58e8040 100644
--- a/animations/01-scroll-based/scroll-background-color/index.html
+++ b/animations/01-scroll-based/scroll-background-color/index.html
@@ -84,8 +84,8 @@
.cm-t .band{top:0;bottom:0}
.cm-t .mk{top:-5px;height:24px}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/scroll-image-sequence/index.html b/animations/01-scroll-based/scroll-image-sequence/index.html
index 10ddc980..f0e9d6df 100644
--- a/animations/01-scroll-based/scroll-image-sequence/index.html
+++ b/animations/01-scroll-based/scroll-image-sequence/index.html
@@ -51,8 +51,8 @@
@container (max-width:479px){.si-glide span,.si-strip span{display:block}}
@container (max-width:399px){.cap{font-size:12px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/scroll-trigger/index.html b/animations/01-scroll-based/scroll-trigger/index.html
index 663321fa..6484d1ef 100644
--- a/animations/01-scroll-based/scroll-trigger/index.html
+++ b/animations/01-scroll-based/scroll-trigger/index.html
@@ -115,8 +115,8 @@
.fx-cmp>*{position:absolute}
.cm-n1{top:7px;left:8px}.cm-n2{top:7px;left:calc(50% + 8px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/scroll-velocity-skew/index.html b/animations/01-scroll-based/scroll-velocity-skew/index.html
index 4b1eaefc..ef702606 100644
--- a/animations/01-scroll-based/scroll-velocity-skew/index.html
+++ b/animations/01-scroll-based/scroll-velocity-skew/index.html
@@ -81,8 +81,8 @@
width:calc(50% + var(--cg) / 2);padding:var(--pad) var(--cg) var(--pad) var(--cp);background:#111114;box-shadow:inset -1px 0 0 var(--ui-border)}
.stage[data-hb-mode="compare"] .twin .row{margin-left:0;will-change:auto}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/01-scroll-based/scrollspy-nav/index.html b/animations/01-scroll-based/scrollspy-nav/index.html
index 6758a9e9..f66b3017 100644
--- a/animations/01-scroll-based/scrollspy-nav/index.html
+++ b/animations/01-scroll-based/scrollspy-nav/index.html
@@ -97,8 +97,8 @@
.cm-n1{top:8px;left:10px}
.cm-n2{top:8px;left:calc(50% + 10px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/scrollytelling/index.html b/animations/01-scroll-based/scrollytelling/index.html
index f809e41f..f19bd6d4 100644
--- a/animations/01-scroll-based/scrollytelling/index.html
+++ b/animations/01-scroll-based/scrollytelling/index.html
@@ -116,8 +116,8 @@
.stage[data-hb-mode="compare"] .pic-n span{display:block}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/scrub-animation/index.html b/animations/01-scroll-based/scrub-animation/index.html
index 9e2959c0..cdd0a18e 100644
--- a/animations/01-scroll-based/scrub-animation/index.html
+++ b/animations/01-scroll-based/scrub-animation/index.html
@@ -105,8 +105,8 @@
.stage[data-hb-mode="compare"] .routes{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/section-wipe/index.html b/animations/01-scroll-based/section-wipe/index.html
index a7559bbc..77785605 100644
--- a/animations/01-scroll-based/section-wipe/index.html
+++ b/animations/01-scroll-based/section-wipe/index.html
@@ -68,8 +68,8 @@
.hnm-b{right:6px}
@media(prefers-reduced-motion:reduce){.sec-content{will-change:auto}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/01-scroll-based/smooth-scroll/index.html b/animations/01-scroll-based/smooth-scroll/index.html
index dc77ec5d..9f22ee17 100644
--- a/animations/01-scroll-based/smooth-scroll/index.html
+++ b/animations/01-scroll-based/smooth-scroll/index.html
@@ -83,8 +83,8 @@
@media(prefers-reduced-motion:reduce){.stage[data-hb-mode="compare"] .hint{display:none}}
@media(max-width:600px){.track{width:14px}.gap{right:30px}.head{right:26px}.c-key,.c-rule{right:46px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/snap-scrolling/index.html b/animations/01-scroll-based/snap-scrolling/index.html
index f361d948..5a2b2bd6 100644
--- a/animations/01-scroll-based/snap-scrolling/index.html
+++ b/animations/01-scroll-based/snap-scrolling/index.html
@@ -85,8 +85,8 @@
/* 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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/stacking-cards/index.html b/animations/01-scroll-based/stacking-cards/index.html
index 2b2014a2..b920b142 100644
--- a/animations/01-scroll-based/stacking-cards/index.html
+++ b/animations/01-scroll-based/stacking-cards/index.html
@@ -128,8 +128,8 @@
background:none;border-color:#b87800;border-radius:12px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/01-scroll-based/stagger-reveal/index.html b/animations/01-scroll-based/stagger-reveal/index.html
index 46bcb7c0..c0ffd39c 100644
--- a/animations/01-scroll-based/stagger-reveal/index.html
+++ b/animations/01-scroll-based/stagger-reveal/index.html
@@ -97,8 +97,8 @@
.stage[data-hb-mode="compare"] .bar-top .cap{padding:2px 6px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/sticky-section/index.html b/animations/01-scroll-based/sticky-section/index.html
index ca5460fd..bc454cbd 100644
--- a/animations/01-scroll-based/sticky-section/index.html
+++ b/animations/01-scroll-based/sticky-section/index.html
@@ -107,8 +107,8 @@
.stage[data-hb-mode="compare"] .state,.blk-w{padding:max(40px,13cqh) 10px 0}.blk-n{left:10px}}
@media(prefers-reduced-motion:reduce){.state,.illus{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/svg-line-draw/index.html b/animations/01-scroll-based/svg-line-draw/index.html
index 91a78316..bcd81680 100644
--- a/animations/01-scroll-based/svg-line-draw/index.html
+++ b/animations/01-scroll-based/svg-line-draw/index.html
@@ -82,8 +82,8 @@
.cm-n1{top:8px;left:8px}
.cm-n2{top:8px;left:calc(50% + 8px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/text-fill-on-scroll/index.html b/animations/01-scroll-based/text-fill-on-scroll/index.html
index e65e9399..5de361cf 100644
--- a/animations/01-scroll-based/text-fill-on-scroll/index.html
+++ b/animations/01-scroll-based/text-fill-on-scroll/index.html
@@ -77,8 +77,8 @@
.stage[data-hb-mode="compare"] .hn1{left:10px}
.stage[data-hb-mode="compare"] .hn2{left:calc(50% + 12px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/01-scroll-based/zoom-into-image/index.html b/animations/01-scroll-based/zoom-into-image/index.html
index 662727d2..d46cc007 100644
--- a/animations/01-scroll-based/zoom-into-image/index.html
+++ b/animations/01-scroll-based/zoom-into-image/index.html
@@ -90,8 +90,8 @@
.stage[data-hb-mode="compare"] .faint{display:block;inset:0 50% 0 0;opacity:1;z-index:0}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" 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">
diff --git a/animations/02-entrance-and-exit/blur-in/index.html b/animations/02-entrance-and-exit/blur-in/index.html
index c3ca0622..8db6bb25 100644
--- a/animations/02-entrance-and-exit/blur-in/index.html
+++ b/animations/02-entrance-and-exit/blur-in/index.html
@@ -99,8 +99,8 @@
.stage[data-hb-mode="inside"].posed .trk i{transform:scaleX(calc(var(--w,1)*(1 - var(--p))))!important;transition:none!important}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/bounce-in/index.html b/animations/02-entrance-and-exit/bounce-in/index.html
index 48ecbbfb..c816aa21 100644
--- a/animations/02-entrance-and-exit/bounce-in/index.html
+++ b/animations/02-entrance-and-exit/bounce-in/index.html
@@ -92,8 +92,8 @@
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/clip-path-reveal/index.html b/animations/02-entrance-and-exit/clip-path-reveal/index.html
index a2746de0..67f0a5e0 100644
--- a/animations/02-entrance-and-exit/clip-path-reveal/index.html
+++ b/animations/02-entrance-and-exit/clip-path-reveal/index.html
@@ -87,8 +87,8 @@
.stage[data-hb-mode="inside"]:not(.posed) .rim{display:none}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/curtain-reveal/index.html b/animations/02-entrance-and-exit/curtain-reveal/index.html
index 4a9c8594..9210ce2e 100644
--- a/animations/02-entrance-and-exit/curtain-reveal/index.html
+++ b/animations/02-entrance-and-exit/curtain-reveal/index.html
@@ -86,8 +86,8 @@
.stage[data-hb-mode="compare"] .content-sub{display:none}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/fade-in-out/index.html b/animations/02-entrance-and-exit/fade-in-out/index.html
index b874e259..ff0cea37 100644
--- a/animations/02-entrance-and-exit/fade-in-out/index.html
+++ b/animations/02-entrance-and-exit/fade-in-out/index.html
@@ -75,8 +75,8 @@
@media(max-width:600px),(max-height:500px){.graph:has(.xout:not([hidden])) .xstay{display:none}}
@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/flip-in/index.html b/animations/02-entrance-and-exit/flip-in/index.html
index bba5486e..b5c26d86 100644
--- a/animations/02-entrance-and-exit/flip-in/index.html
+++ b/animations/02-entrance-and-exit/flip-in/index.html
@@ -71,8 +71,8 @@
}
@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important;transform:none!important}.blade{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/ink-spread-reveal/index.html b/animations/02-entrance-and-exit/ink-spread-reveal/index.html
index c60641b8..a90f74c2 100644
--- a/animations/02-entrance-and-exit/ink-spread-reveal/index.html
+++ b/animations/02-entrance-and-exit/ink-spread-reveal/index.html
@@ -51,8 +51,8 @@
.side{top:10px;left:10px}
@media(max-width:600px){.cap.c-dash{display:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
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.html
index 248205fb..5f01928d 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
@@ -81,8 +81,8 @@
@media(max-width:600px){.lbl{font-size:12.5px;padding:3px 6px}}
@media(prefers-reduced-motion:reduce){.char{transition:none!important;opacity:1!important;transform:none!important}.bars b{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/rotate-in/index.html b/animations/02-entrance-and-exit/rotate-in/index.html
index 377d25dd..39ec3fba 100644
--- a/animations/02-entrance-and-exit/rotate-in/index.html
+++ b/animations/02-entrance-and-exit/rotate-in/index.html
@@ -61,8 +61,8 @@
.stage[data-hb-mode="compare"].posed .icon{transform:rotate(var(--pose-r)) scale(var(--pose-s))!important;opacity:var(--pose-o)!important;transition:none!important}
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/scale-in/index.html b/animations/02-entrance-and-exit/scale-in/index.html
index 694ffe66..aaa6bc9d 100644
--- a/animations/02-entrance-and-exit/scale-in/index.html
+++ b/animations/02-entrance-and-exit/scale-in/index.html
@@ -70,8 +70,8 @@
.stage[data-hb-mode="compare"].posed .card{opacity:var(--pose-o)!important;transition:none!important}
.stage[data-hb-mode="compare"].posed .card:not(.twin){transform:scale(var(--pose-s))!important}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/shatter-effect/index.html b/animations/02-entrance-and-exit/shatter-effect/index.html
index 88607d6a..c6888f32 100644
--- a/animations/02-entrance-and-exit/shatter-effect/index.html
+++ b/animations/02-entrance-and-exit/shatter-effect/index.html
@@ -72,8 +72,8 @@
}
@media(prefers-reduced-motion:reduce){.stage[data-hb-mode="inside"] .ov{transition:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/slide-in/index.html b/animations/02-entrance-and-exit/slide-in/index.html
index c1721b79..1454047d 100644
--- a/animations/02-entrance-and-exit/slide-in/index.html
+++ b/animations/02-entrance-and-exit/slide-in/index.html
@@ -66,8 +66,8 @@
@media(max-width:600px),(max-height:500px){.lbl{font-size:12px}}
@media(prefers-reduced-motion:reduce){.card{transition:opacity 300ms linear!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/slide-up-reveal/index.html b/animations/02-entrance-and-exit/slide-up-reveal/index.html
index 639ab256..31f08a1c 100644
--- a/animations/02-entrance-and-exit/slide-up-reveal/index.html
+++ b/animations/02-entrance-and-exit/slide-up-reveal/index.html
@@ -75,8 +75,8 @@
@media(max-width:600px),(max-height:500px){.stage[data-hb-mode="inside"] .t-late{display:none}}
@media(prefers-reduced-motion:reduce){.ghost,.edge{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/02-entrance-and-exit/split-text-reveal/index.html b/animations/02-entrance-and-exit/split-text-reveal/index.html
index 1219567b..5447846e 100644
--- a/animations/02-entrance-and-exit/split-text-reveal/index.html
+++ b/animations/02-entrance-and-exit/split-text-reveal/index.html
@@ -89,8 +89,8 @@
@media(max-width:600px){.lbl{font-size:12.5px;padding:3px 6px}}
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
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.html
index e258a37f..b8fc3d5f 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
@@ -81,8 +81,8 @@
}
@media(prefers-reduced-motion:reduce){.word{transition:opacity 300ms linear!important;transform:none!important;filter:none!important}.ticks i,.ph,.now{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/blur-transition/index.html b/animations/03-page-transitions/blur-transition/index.html
index 226b9ca2..2b9fd616 100644
--- a/animations/03-page-transitions/blur-transition/index.html
+++ b/animations/03-page-transitions/blur-transition/index.html
@@ -100,8 +100,8 @@
}
@media(prefers-reduced-motion:reduce){.page{transition:none!important;filter:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/circle-reveal/index.html b/animations/03-page-transitions/circle-reveal/index.html
index d459ab05..91d358f7 100644
--- a/animations/03-page-transitions/circle-reveal/index.html
+++ b/animations/03-page-transitions/circle-reveal/index.html
@@ -99,8 +99,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/crossfade/index.html b/animations/03-page-transitions/crossfade/index.html
index f21af2a0..b0f05d4e 100644
--- a/animations/03-page-transitions/crossfade/index.html
+++ b/animations/03-page-transitions/crossfade/index.html
@@ -100,8 +100,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/cube-transition/index.html b/animations/03-page-transitions/cube-transition/index.html
index 2d310723..cd10bdd9 100644
--- a/animations/03-page-transitions/cube-transition/index.html
+++ b/animations/03-page-transitions/cube-transition/index.html
@@ -110,8 +110,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/dissolve/index.html b/animations/03-page-transitions/dissolve/index.html
index 40a520d0..ff8bcba5 100644
--- a/animations/03-page-transitions/dissolve/index.html
+++ b/animations/03-page-transitions/dissolve/index.html
@@ -88,8 +88,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/elastic-transition/index.html b/animations/03-page-transitions/elastic-transition/index.html
index cd8976d1..9321e0db 100644
--- a/animations/03-page-transitions/elastic-transition/index.html
+++ b/animations/03-page-transitions/elastic-transition/index.html
@@ -78,8 +78,8 @@
}
</style>
<style id="kf-style"></style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/flash-transition/index.html b/animations/03-page-transitions/flash-transition/index.html
index a5161e57..704cf2f9 100644
--- a/animations/03-page-transitions/flash-transition/index.html
+++ b/animations/03-page-transitions/flash-transition/index.html
@@ -92,8 +92,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start;padding-top:12px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/flip-technique/index.html b/animations/03-page-transitions/flip-technique/index.html
index 288c53cc..d8a066ff 100644
--- a/animations/03-page-transitions/flip-technique/index.html
+++ b/animations/03-page-transitions/flip-technique/index.html
@@ -85,8 +85,8 @@
.stage[data-hb-mode="compare"] .card-num{font-size:18px;opacity:.6;top:auto;bottom:6px;left:6px;right:auto}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/morph-transition/index.html b/animations/03-page-transitions/morph-transition/index.html
index 849ad76a..57bdb2f8 100644
--- a/animations/03-page-transitions/morph-transition/index.html
+++ b/animations/03-page-transitions/morph-transition/index.html
@@ -76,8 +76,8 @@
.l-br{right:8px;bottom:8px}
.nm{white-space:nowrap}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/overlay-wipe/index.html b/animations/03-page-transitions/overlay-wipe/index.html
index 3fccf59b..a0e66827 100644
--- a/animations/03-page-transitions/overlay-wipe/index.html
+++ b/animations/03-page-transitions/overlay-wipe/index.html
@@ -113,8 +113,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/page-curl/index.html b/animations/03-page-transitions/page-curl/index.html
index a10d754f..5a5cf70b 100644
--- a/animations/03-page-transitions/page-curl/index.html
+++ b/animations/03-page-transitions/page-curl/index.html
@@ -82,8 +82,8 @@
@media(max-width:360px){.stage[data-hb-mode="compare"]{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/pixelate-transition/index.html b/animations/03-page-transitions/pixelate-transition/index.html
index 2c8d89e3..56631226 100644
--- a/animations/03-page-transitions/pixelate-transition/index.html
+++ b/animations/03-page-transitions/pixelate-transition/index.html
@@ -36,8 +36,8 @@
.in.copy{white-space:normal;text-align:right;max-width:calc(100% - 150px)}
.half{bottom:10px}.half.first{left:10px}.half.second{left:calc(50% + 10px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/portal-zoom/index.html b/animations/03-page-transitions/portal-zoom/index.html
index 0fdd9fb1..20845e2f 100644
--- a/animations/03-page-transitions/portal-zoom/index.html
+++ b/animations/03-page-transitions/portal-zoom/index.html
@@ -107,8 +107,8 @@
.stage[data-hb-mode="compare"] .pc{padding:12px 88px 44px 12px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/shared-element-transition/index.html b/animations/03-page-transitions/shared-element-transition/index.html
index 35b5217e..e22c7bf3 100644
--- a/animations/03-page-transitions/shared-element-transition/index.html
+++ b/animations/03-page-transitions/shared-element-transition/index.html
@@ -86,8 +86,8 @@
.stage[data-hb-mode="compare"] .cx{display:none}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/slide-transition/index.html b/animations/03-page-transitions/slide-transition/index.html
index e6222f94..ca2dc23d 100644
--- a/animations/03-page-transitions/slide-transition/index.html
+++ b/animations/03-page-transitions/slide-transition/index.html
@@ -95,8 +95,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/view-transitions-api/index.html b/animations/03-page-transitions/view-transitions-api/index.html
index 03cb2358..3662e9b1 100644
--- a/animations/03-page-transitions/view-transitions-api/index.html
+++ b/animations/03-page-transitions/view-transitions-api/index.html
@@ -141,8 +141,8 @@
}
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/03-page-transitions/zoom-transition/index.html b/animations/03-page-transitions/zoom-transition/index.html
index c6572c5e..1e898360 100644
--- a/animations/03-page-transitions/zoom-transition/index.html
+++ b/animations/03-page-transitions/zoom-transition/index.html
@@ -102,8 +102,8 @@
.stage[data-hb-mode="compare"] .pc{justify-content:flex-start}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/accordion/index.html b/animations/04-micro-interactions/accordion/index.html
index 93f4412f..a9fb87cb 100644
--- a/animations/04-micro-interactions/accordion/index.html
+++ b/animations/04-micro-interactions/accordion/index.html
@@ -111,8 +111,8 @@
}
.stage[data-hb-mode="inside"] .acc-item.pose .acc-bar{transform:scaleY(var(--p));transition:none}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/add-to-cart-fly/index.html b/animations/04-micro-interactions/add-to-cart-fly/index.html
index 85626aff..1d69f233 100644
--- a/animations/04-micro-interactions/add-to-cart-fly/index.html
+++ b/animations/04-micro-interactions/add-to-cart-fly/index.html
@@ -88,8 +88,8 @@
.stage[data-hb-mode="compare"] .prod:nth-child(2){display:none}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/badge-pulse/index.html b/animations/04-micro-interactions/badge-pulse/index.html
index dd3b63e2..3efc3a18 100644
--- a/animations/04-micro-interactions/badge-pulse/index.html
+++ b/animations/04-micro-interactions/badge-pulse/index.html
@@ -107,8 +107,8 @@
.stage[data-hb-mode="compare"] .icon-row .badge,.stage[data-hb-mode="compare"] .icon-row .dot-badge,.stage[data-hb-mode="compare"] .icon-row .badge::after,.stage[data-hb-mode="compare"] .icon-row .dot-badge::after{animation-iteration-count:3;animation-fill-mode:forwards}
.stage[data-hb-mode="compare"].hb-paused .icon-row .badge,.stage[data-hb-mode="compare"].hb-paused .icon-row .dot-badge,.stage[data-hb-mode="compare"].hb-paused .icon-row .badge::after,.stage[data-hb-mode="compare"].hb-paused .icon-row .dot-badge::after{animation-delay:calc(var(--pulse-dur)*-3)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/before-after-slider/index.html b/animations/04-micro-interactions/before-after-slider/index.html
index b1717145..4e70d791 100644
--- a/animations/04-micro-interactions/before-after-slider/index.html
+++ b/animations/04-micro-interactions/before-after-slider/index.html
@@ -82,8 +82,8 @@
.cap.half{bottom:6px}.cap.first{left:8px}.cap.second{left:calc(50% + 10px)}
@media(prefers-reduced-motion:reduce){.tag{transition:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/button-loading-states/index.html b/animations/04-micro-interactions/button-loading-states/index.html
index c3f179e3..e29f8379 100644
--- a/animations/04-micro-interactions/button-loading-states/index.html
+++ b/animations/04-micro-interactions/button-loading-states/index.html
@@ -121,8 +121,8 @@
}
@media(prefers-reduced-motion:reduce){.stage[data-hb-mode="compare"].posed .card:not(.twin) .l-busy{opacity:1}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/button-press-scale/index.html b/animations/04-micro-interactions/button-press-scale/index.html
index e5ca4088..6f5a3e10 100644
--- a/animations/04-micro-interactions/button-press-scale/index.html
+++ b/animations/04-micro-interactions/button-press-scale/index.html
@@ -96,8 +96,8 @@
.cmp-time{left:12px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/card-deck-swipe/index.html b/animations/04-micro-interactions/card-deck-swipe/index.html
index 57f0f2db..320173bd 100644
--- a/animations/04-micro-interactions/card-deck-swipe/index.html
+++ b/animations/04-micro-interactions/card-deck-swipe/index.html
@@ -76,8 +76,8 @@
.cap.half{top:8px}.cap.first{left:8px}.cap.second{left:calc(50% + 10px)}
@media(prefers-reduced-motion:reduce){.card,.card.spring,.card.out{transition:opacity .2s}.spring .stamp{transition:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/checkmark-draw/index.html b/animations/04-micro-interactions/checkmark-draw/index.html
index 4f233ca2..a1084839 100644
--- a/animations/04-micro-interactions/checkmark-draw/index.html
+++ b/animations/04-micro-interactions/checkmark-draw/index.html
@@ -93,8 +93,8 @@
@media(max-width:600px),(max-height:680px){.stage[data-hb-mode="inside"] .icon-wrap{width:120px;height:120px}}
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/click-ripple/index.html b/animations/04-micro-interactions/click-ripple/index.html
index 1ea74bd7..1f93c891 100644
--- a/animations/04-micro-interactions/click-ripple/index.html
+++ b/animations/04-micro-interactions/click-ripple/index.html
@@ -75,8 +75,8 @@
.stage[data-hb-mode="compare"] .rbtn,.stage[data-hb-mode="compare"] .rcopy{min-width:0;width:min(calc(100% - 12px),150px);padding:0 2px;white-space:nowrap}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/copy-to-clipboard/index.html b/animations/04-micro-interactions/copy-to-clipboard/index.html
index 86fe6d69..bd075e3f 100644
--- a/animations/04-micro-interactions/copy-to-clipboard/index.html
+++ b/animations/04-micro-interactions/copy-to-clipboard/index.html
@@ -114,8 +114,8 @@
}
@media(prefers-reduced-motion:reduce){.stage[data-hb-mode="inside"] .c-flash,.stage[data-hb-mode="inside"] .l-flash{animation:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/cursor-follower/index.html b/animations/04-micro-interactions/cursor-follower/index.html
index 060bc89f..94b088c0 100644
--- a/animations/04-micro-interactions/cursor-follower/index.html
+++ b/animations/04-micro-interactions/cursor-follower/index.html
@@ -88,8 +88,8 @@
.stage[data-hb-mode="compare"]>.zone:nth-child(n+3),.stage[data-hb-mode="compare"] .twin>.zone:nth-child(n+3){align-items:flex-start;padding-top:8px;padding-bottom:0}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/drag-to-reorder/index.html b/animations/04-micro-interactions/drag-to-reorder/index.html
index b9c3b8a8..0b459c5c 100644
--- a/animations/04-micro-interactions/drag-to-reorder/index.html
+++ b/animations/04-micro-interactions/drag-to-reorder/index.html
@@ -69,8 +69,8 @@
.stage[data-hb-mode="inside"] .card,.stage[data-hb-mode="compare"] .card{gap:6px;padding-right:8px}.stage[data-hb-mode="inside"] .grip,.stage[data-hb-mode="compare"] .grip{margin-left:0}}
@media(max-width:359px){:root{--col:116px}} /* a narrower caption column keeps a few more letters of each task */
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/drawer-slide/index.html b/animations/04-micro-interactions/drawer-slide/index.html
index 12eaa0ad..7b612f11 100644
--- a/animations/04-micro-interactions/drawer-slide/index.html
+++ b/animations/04-micro-interactions/drawer-slide/index.html
@@ -137,8 +137,8 @@
/* A short stage cannot hold the open menu and a half's name below it: each drawer gives up some width, so the name sits beside it */
@media(min-width:601px) and (max-height:620px){.stage[data-hb-mode="compare"]{--drawer-w:min(280px,58%)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/dynamic-island/index.html b/animations/04-micro-interactions/dynamic-island/index.html
index d4bafb6c..793d7857 100644
--- a/animations/04-micro-interactions/dynamic-island/index.html
+++ b/animations/04-micro-interactions/dynamic-island/index.html
@@ -137,8 +137,8 @@
@media(max-width:760px){
.stage[data-hb-mode="compare"] .phone{border-width:4px;border-radius:32px 32px 0 0}.stage[data-hb-mode="compare"] .screen{border-radius:28px 28px 0 0}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/error-shake/index.html b/animations/04-micro-interactions/error-shake/index.html
index 4e31dccf..c80c467e 100644
--- a/animations/04-micro-interactions/error-shake/index.html
+++ b/animations/04-micro-interactions/error-shake/index.html
@@ -102,8 +102,8 @@
}
@media(prefers-reduced-motion:reduce){.field.error input{animation:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/expanding-search/index.html b/animations/04-micro-interactions/expanding-search/index.html
index 54e76ad6..bafb03a6 100644
--- a/animations/04-micro-interactions/expanding-search/index.html
+++ b/animations/04-micro-interactions/expanding-search/index.html
@@ -119,8 +119,8 @@
.stage[data-hb-mode="compare"] .page i:nth-of-type(n+2){display:none}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/focus-ring/index.html b/animations/04-micro-interactions/focus-ring/index.html
index 22785874..32274742 100644
--- a/animations/04-micro-interactions/focus-ring/index.html
+++ b/animations/04-micro-interactions/focus-ring/index.html
@@ -101,8 +101,8 @@
.stage[data-hb-mode="compare"] .cmp-line{left:0;right:0;top:50%;bottom:auto;width:auto;height:1px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/form-field-morph/index.html b/animations/04-micro-interactions/form-field-morph/index.html
index f5ac6604..8305975e 100644
--- a/animations/04-micro-interactions/form-field-morph/index.html
+++ b/animations/04-micro-interactions/form-field-morph/index.html
@@ -109,8 +109,8 @@
.stage[data-hb-mode="compare"] .cmp-n.second{left:12px;top:calc(50% + 6px)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/gooey-menu/index.html b/animations/04-micro-interactions/gooey-menu/index.html
index 71c82837..87ff7ba0 100644
--- a/animations/04-micro-interactions/gooey-menu/index.html
+++ b/animations/04-micro-interactions/gooey-menu/index.html
@@ -118,8 +118,8 @@
.stage[data-hb-mode="inside"] .gm-pose .gm-b,.stage[data-hb-mode="compare"] .gm-pose .gm-b{opacity:1}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/gradient-border/index.html b/animations/04-micro-interactions/gradient-border/index.html
index fa31a82e..1111d540 100644
--- a/animations/04-micro-interactions/gradient-border/index.html
+++ b/animations/04-micro-interactions/gradient-border/index.html
@@ -109,8 +109,8 @@
.stage[data-hb-mode="compare"] .sc-plain{border-right:0;border-bottom:1px solid rgba(244,244,242,.14)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/hamburger-menu-toggle/index.html b/animations/04-micro-interactions/hamburger-menu-toggle/index.html
index 27f26969..59624af3 100644
--- a/animations/04-micro-interactions/hamburger-menu-toggle/index.html
+++ b/animations/04-micro-interactions/hamburger-menu-toggle/index.html
@@ -111,8 +111,8 @@
.stage[data-hb-mode="compare"] .menu li{padding:7px 14px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/heart-burst/index.html b/animations/04-micro-interactions/heart-burst/index.html
index 49832353..b74f98fd 100644
--- a/animations/04-micro-interactions/heart-burst/index.html
+++ b/animations/04-micro-interactions/heart-burst/index.html
@@ -57,8 +57,8 @@
transform-origin:12px 12px;animation:pop .5s cubic-bezier(.22,1,.36,1) -.25s paused}
@media(max-width:600px){.cap{padding:3px 7px;font-size:12px;line-height:16px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/hold-to-confirm/index.html b/animations/04-micro-interactions/hold-to-confirm/index.html
index ed266acd..ea4fcdc6 100644
--- a/animations/04-micro-interactions/hold-to-confirm/index.html
+++ b/animations/04-micro-interactions/hold-to-confirm/index.html
@@ -113,8 +113,8 @@
.stage[data-hb-mode="compare"] .side.second{left:12px;top:calc(50% + 8px)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/hover-state/index.html b/animations/04-micro-interactions/hover-state/index.html
index 8ef361cd..fac29219 100644
--- a/animations/04-micro-interactions/hover-state/index.html
+++ b/animations/04-micro-interactions/hover-state/index.html
@@ -129,8 +129,8 @@
/* 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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/image-trail/index.html b/animations/04-micro-interactions/image-trail/index.html
index 1c5cf950..292dd576 100644
--- a/animations/04-micro-interactions/image-trail/index.html
+++ b/animations/04-micro-interactions/image-trail/index.html
@@ -81,8 +81,8 @@
.cmp-l.second{left:8px;top:calc(50% + 6px)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/loading-spinner/index.html b/animations/04-micro-interactions/loading-spinner/index.html
index b0748422..f5ed4cd0 100644
--- a/animations/04-micro-interactions/loading-spinner/index.html
+++ b/animations/04-micro-interactions/loading-spinner/index.html
@@ -118,8 +118,8 @@
.cmp .dr-turn{display:block}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/magnetic-button/index.html b/animations/04-micro-interactions/magnetic-button/index.html
index 754b1702..f32650b5 100644
--- a/animations/04-micro-interactions/magnetic-button/index.html
+++ b/animations/04-micro-interactions/magnetic-button/index.html
@@ -72,8 +72,8 @@
.stage[data-hb-mode="compare"] .mag,.stage[data-hb-mode="compare"] .mag .mag-label{transition:none}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/magnifier-lens/index.html b/animations/04-micro-interactions/magnifier-lens/index.html
index 99f05f39..40891015 100644
--- a/animations/04-micro-interactions/magnifier-lens/index.html
+++ b/animations/04-micro-interactions/magnifier-lens/index.html
@@ -57,8 +57,8 @@
.cap.half{top:8px}.cap.first{left:8px}.cap.second{left:calc(50% + 10px)}
@media(prefers-reduced-motion:reduce){.glass{transition:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/modal-expand/index.html b/animations/04-micro-interactions/modal-expand/index.html
index 08553120..e339a168 100644
--- a/animations/04-micro-interactions/modal-expand/index.html
+++ b/animations/04-micro-interactions/modal-expand/index.html
@@ -91,8 +91,8 @@
.stage[data-hb-mode="compare"] .modal-actions{flex-direction:column;gap:6px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/progress-animation/index.html b/animations/04-micro-interactions/progress-animation/index.html
index d0585f55..52fedaa7 100644
--- a/animations/04-micro-interactions/progress-animation/index.html
+++ b/animations/04-micro-interactions/progress-animation/index.html
@@ -81,8 +81,8 @@
}
@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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/pull-to-refresh/index.html b/animations/04-micro-interactions/pull-to-refresh/index.html
index 29b1d83e..c2a0e3c3 100644
--- a/animations/04-micro-interactions/pull-to-refresh/index.html
+++ b/animations/04-micro-interactions/pull-to-refresh/index.html
@@ -99,8 +99,8 @@
.stage[data-hb-mode="compare"] .indicator .spin{flex:none}
@media(max-width:600px){.lbl{font-size:12px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/rolling-numbers/index.html b/animations/04-micro-interactions/rolling-numbers/index.html
index 761767f8..f814a324 100644
--- a/animations/04-micro-interactions/rolling-numbers/index.html
+++ b/animations/04-micro-interactions/rolling-numbers/index.html
@@ -91,8 +91,8 @@
@media(max-width:600px){.lbl{font:600 12px/1.25 var(--hb-font);padding:2px 5px}}
@media(max-height:640px){.stage[data-hb-mode="inside"] .num{font-size:clamp(32px,10vw,56px)}.stage[data-hb-mode="compare"] .num{font-size:clamp(32px,11vw,64px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/segmented-control/index.html b/animations/04-micro-interactions/segmented-control/index.html
index fb368f3b..559aebba 100644
--- a/animations/04-micro-interactions/segmented-control/index.html
+++ b/animations/04-micro-interactions/segmented-control/index.html
@@ -66,8 +66,8 @@
.stage[data-hb-mode="compare"] #seg,.stage[data-hb-mode="compare"] .cp-name.n1{grid-area:1/2}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/shimmer-effect/index.html b/animations/04-micro-interactions/shimmer-effect/index.html
index a3962480..8682ab38 100644
--- a/animations/04-micro-interactions/shimmer-effect/index.html
+++ b/animations/04-micro-interactions/shimmer-effect/index.html
@@ -95,8 +95,8 @@
.stage[data-hb-mode="compare"] .bandl.rev{animation-delay:calc(var(--shim-dur) * -.125)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/skeleton-loader/index.html b/animations/04-micro-interactions/skeleton-loader/index.html
index 1b0cf8dd..092457ce 100644
--- a/animations/04-micro-interactions/skeleton-loader/index.html
+++ b/animations/04-micro-interactions/skeleton-loader/index.html
@@ -105,8 +105,8 @@
}
@media(prefers-reduced-motion:reduce){.stage[data-hb-mode="compare"].posed .skel{opacity:.6}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/spotlight-hover/index.html b/animations/04-micro-interactions/spotlight-hover/index.html
index 2aa834e0..925a5fba 100644
--- a/animations/04-micro-interactions/spotlight-hover/index.html
+++ b/animations/04-micro-interactions/spotlight-hover/index.html
@@ -90,8 +90,8 @@
}
@media(prefers-reduced-motion:reduce){.ring,.pt{transition-duration:.2s}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/star-rating/index.html b/animations/04-micro-interactions/star-rating/index.html
index 65180a66..39a020a0 100644
--- a/animations/04-micro-interactions/star-rating/index.html
+++ b/animations/04-micro-interactions/star-rating/index.html
@@ -83,8 +83,8 @@
.stage[data-hb-mode="compare"] .lay-a{clip-path:inset(0 0 50% 0)}.stage[data-hb-mode="compare"] .lay-b{clip-path:inset(50% 0 0 0)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/success-confetti/index.html b/animations/04-micro-interactions/success-confetti/index.html
index aa3f392a..7e9bde3b 100644
--- a/animations/04-micro-interactions/success-confetti/index.html
+++ b/animations/04-micro-interactions/success-confetti/index.html
@@ -52,8 +52,8 @@
.half.first{left:10px}.half.second{left:calc(50% + 10px)}
@media(max-width:600px){.cap{padding:3px 7px;font-size:12px;line-height:16px}.stage[data-hb-mode="compare"] .order-btn{padding:18px 14px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/swipe-to-dismiss/index.html b/animations/04-micro-interactions/swipe-to-dismiss/index.html
index 839ba25c..c224a5f5 100644
--- a/animations/04-micro-interactions/swipe-to-dismiss/index.html
+++ b/animations/04-micro-interactions/swipe-to-dismiss/index.html
@@ -99,8 +99,8 @@
.stage[data-hb-mode="compare"] .row{height:52px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/theme-toggle-morph/index.html b/animations/04-micro-interactions/theme-toggle-morph/index.html
index 70325ce9..ca997c79 100644
--- a/animations/04-micro-interactions/theme-toggle-morph/index.html
+++ b/animations/04-micro-interactions/theme-toggle-morph/index.html
@@ -100,8 +100,8 @@
.stage[data-hb-mode="inside"] .face{padding:10px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/toast-notification/index.html b/animations/04-micro-interactions/toast-notification/index.html
index 65601fa3..1dc9e564 100644
--- a/animations/04-micro-interactions/toast-notification/index.html
+++ b/animations/04-micro-interactions/toast-notification/index.html
@@ -98,8 +98,8 @@
/* A narrow stage: the words sit past the stack's free end, and may wrap */
@container (max-width:559px){.cap{font-size:12px;line-height:16px;white-space:normal;max-width:calc(100% - 24px)}.stage[data-hb-mode="inside"] .cap[data-k="limit"]{display:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/toggle-switch/index.html b/animations/04-micro-interactions/toggle-switch/index.html
index 9b443d5d..e6d55429 100644
--- a/animations/04-micro-interactions/toggle-switch/index.html
+++ b/animations/04-micro-interactions/toggle-switch/index.html
@@ -135,8 +135,8 @@
}
@media(prefers-reduced-motion:reduce){.sw-track,.sw-thumb,.d-track,.d-knob{transition:background .1s!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/tooltip-reveal/index.html b/animations/04-micro-interactions/tooltip-reveal/index.html
index 212470c9..a8699aa2 100644
--- a/animations/04-micro-interactions/tooltip-reveal/index.html
+++ b/animations/04-micro-interactions/tooltip-reveal/index.html
@@ -113,8 +113,8 @@
.stage[data-hb-mode="inside"].side .tip-wrap{grid-column:1;justify-self:center}
.stage[data-hb-mode="inside"].side .strip{grid-column:2;grid-row:1/span 3;align-self:center}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/04-micro-interactions/typing-indicator/index.html b/animations/04-micro-interactions/typing-indicator/index.html
index bb4f0fc2..e7b69606 100644
--- a/animations/04-micro-interactions/typing-indicator/index.html
+++ b/animations/04-micro-interactions/typing-indicator/index.html
@@ -104,8 +104,8 @@
.ti-head{animation:none;transform:translateX(30%)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/enter-exit-typography/index.html b/animations/05-text-typography/enter-exit-typography/index.html
index 7b3e547f..7186698a 100644
--- a/animations/05-text-typography/enter-exit-typography/index.html
+++ b/animations/05-text-typography/enter-exit-typography/index.html
@@ -90,8 +90,8 @@
.when{bottom:8px}
.ghost{position:absolute;border:1.5px dashed rgba(244,244,242,.5);border-radius:6px;pointer-events:none}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/glitch-text/index.html b/animations/05-text-typography/glitch-text/index.html
index 215e6b0f..dc493de7 100644
--- a/animations/05-text-typography/glitch-text/index.html
+++ b/animations/05-text-typography/glitch-text/index.html
@@ -91,8 +91,8 @@
.stage[data-hb-mode="compare"] .real{border-left:0;border-top:1px solid rgba(255,255,255,.14)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/handwriting-draw/index.html b/animations/05-text-typography/handwriting-draw/index.html
index 7ee22da7..78519ace 100644
--- a/animations/05-text-typography/handwriting-draw/index.html
+++ b/animations/05-text-typography/handwriting-draw/index.html
@@ -84,8 +84,8 @@
.stage[data-hb-mode="compare"] .half{--pw:min(100%,calc((100cqh - 66px)*.9))}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/highlighter-sweep/index.html b/animations/05-text-typography/highlighter-sweep/index.html
index 6fdaa0ab..a5563490 100644
--- a/animations/05-text-typography/highlighter-sweep/index.html
+++ b/animations/05-text-typography/highlighter-sweep/index.html
@@ -98,8 +98,8 @@
.stage[data-hb-mode="compare"] .para{font-size:clamp(12.5px,4vw,14px)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/kinetic-typography/index.html b/animations/05-text-typography/kinetic-typography/index.html
index 27dbbc45..d51a91fb 100644
--- a/animations/05-text-typography/kinetic-typography/index.html
+++ b/animations/05-text-typography/kinetic-typography/index.html
@@ -98,8 +98,8 @@
.kt-half.second{top:calc(50% + 10px)}
.kt-when{top:auto;left:auto;right:10px;bottom:10px}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/marquee-ticker/index.html b/animations/05-text-typography/marquee-ticker/index.html
index 1a3a85ce..23209bde 100644
--- a/animations/05-text-typography/marquee-ticker/index.html
+++ b/animations/05-text-typography/marquee-ticker/index.html
@@ -81,8 +81,8 @@
.solo-track{display:flex;width:max-content;white-space:nowrap;animation:soloL linear infinite}
@keyframes soloL{from{transform:translateX(0)}to{transform:translateX(-100%)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/neon-flicker/index.html b/animations/05-text-typography/neon-flicker/index.html
index 5a7e33f5..8bee65a8 100644
--- a/animations/05-text-typography/neon-flicker/index.html
+++ b/animations/05-text-typography/neon-flicker/index.html
@@ -105,8 +105,8 @@
.name{left:10px}
.dip{right:10px}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/outline-to-fill/index.html b/animations/05-text-typography/outline-to-fill/index.html
index 453ba4b6..6a0ef225 100644
--- a/animations/05-text-typography/outline-to-fill/index.html
+++ b/animations/05-text-typography/outline-to-fill/index.html
@@ -111,8 +111,8 @@
.twin .fill-layer{transition:none!important}
@media(prefers-reduced-motion:reduce){.fill-layer,.stroke-only,.fill-only,.otf-edge{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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/rotate-word-carousel/index.html b/animations/05-text-typography/rotate-word-carousel/index.html
index aa5379a5..63984ee5 100644
--- a/animations/05-text-typography/rotate-word-carousel/index.html
+++ b/animations/05-text-typography/rotate-word-carousel/index.html
@@ -82,8 +82,8 @@
/* Held a moment into a slide: both words stand where the old one has slid 40% of its way out, with the fade it has there */
.stage[data-hb-mode="compare"].posed .rot-word{transition:none!important;transform:translate(var(--px),var(--py))!important;opacity:var(--po)!important}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/scramble-text/index.html b/animations/05-text-typography/scramble-text/index.html
index fba7204e..039d0948 100644
--- a/animations/05-text-typography/scramble-text/index.html
+++ b/animations/05-text-typography/scramble-text/index.html
@@ -66,8 +66,8 @@
@media(prefers-reduced-motion:reduce){.scramble-text .char{transition:none!important;color:#fff!important}
.stage[data-hb-mode="inside"] .char.scrambling,.stage[data-hb-mode="compare"] .char.scrambling{color:var(--flick)!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/split-flap-board/index.html b/animations/05-text-typography/split-flap-board/index.html
index 9939642a..5dc8c4e2 100644
--- a/animations/05-text-typography/split-flap-board/index.html
+++ b/animations/05-text-typography/split-flap-board/index.html
@@ -100,8 +100,8 @@
@media(max-width:600px),(max-height:500px){.cap{font-size:12px}}
@media(max-width:640px){.stage[data-hb-mode="inside"]{--capH:46px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/text-clip-path-reveal/index.html b/animations/05-text-typography/text-clip-path-reveal/index.html
index 311339dd..bc809a6e 100644
--- a/animations/05-text-typography/text-clip-path-reveal/index.html
+++ b/animations/05-text-typography/text-clip-path-reveal/index.html
@@ -84,8 +84,8 @@
}
@media(prefers-reduced-motion:reduce){.line-text{clip-path:inset(0)!important;transition:none!important}.edge{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/text-gradient-animation/index.html b/animations/05-text-typography/text-gradient-animation/index.html
index 93a00a05..6b2a7eeb 100644
--- a/animations/05-text-typography/text-gradient-animation/index.html
+++ b/animations/05-text-typography/text-gradient-animation/index.html
@@ -103,8 +103,8 @@
.gt-seam.grad-multi{background-image:linear-gradient(135deg,#f85149,#ffa657,#56d364,#58a6ff,#d2a8ff,#d2a8ff)}
.gt-seam.grad-custom{background-image:linear-gradient(90deg,var(--c1),var(--c2),var(--c2))}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/text-morphing/index.html b/animations/05-text-typography/text-morphing/index.html
index 4edfe7b4..9986aba3 100644
--- a/animations/05-text-typography/text-morphing/index.html
+++ b/animations/05-text-typography/text-morphing/index.html
@@ -73,8 +73,8 @@
.stage[data-hb-mode="compare"] .side.pose-note{display:none}
.stage[data-hb-mode="compare"].posed .side.pose-note{display:block}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/text-on-path/index.html b/animations/05-text-typography/text-on-path/index.html
index 82d8c2ba..ece40c43 100644
--- a/animations/05-text-typography/text-on-path/index.html
+++ b/animations/05-text-typography/text-on-path/index.html
@@ -65,8 +65,8 @@
.stage[data-hb-mode="compare"]>svg{grid-row:2;grid-column:2}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/text-particles/index.html b/animations/05-text-typography/text-particles/index.html
index 04cba287..e5449196 100644
--- a/animations/05-text-typography/text-particles/index.html
+++ b/animations/05-text-typography/text-particles/index.html
@@ -51,8 +51,8 @@
.stage[data-hb-mode="compare"]{background:radial-gradient(ellipse 60% 23% at 50% 25%,color-mix(in srgb,var(--glow) 14%,transparent),transparent 72%),radial-gradient(ellipse 60% 23% at 50% 75%,color-mix(in srgb,var(--glow) 14%,transparent),transparent 72%),var(--bg)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/typewriter-effect/index.html b/animations/05-text-typography/typewriter-effect/index.html
index 4ef184d9..ee2f1528 100644
--- a/animations/05-text-typography/typewriter-effect/index.html
+++ b/animations/05-text-typography/typewriter-effect/index.html
@@ -68,8 +68,8 @@
@media(max-width:600px),(max-height:500px){.stage[data-hb-mode="inside"] .type-text{font-size:clamp(14px,4.4vw,17px)}
.stage[data-hb-mode="compare"] .type-text{font-size:clamp(13px,3.6vw,15px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/variable-font-morph/index.html b/animations/05-text-typography/variable-font-morph/index.html
index c3c87826..f08d4705 100644
--- a/animations/05-text-typography/variable-font-morph/index.html
+++ b/animations/05-text-typography/variable-font-morph/index.html
@@ -90,8 +90,8 @@
.stage[data-hb-mode="compare"] .vfjump{left:25%}
.stage[data-hb-mode="compare"] #vf-text{z-index:1}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/05-text-typography/wavy-text/index.html b/animations/05-text-typography/wavy-text/index.html
index 35581215..e8422077 100644
--- a/animations/05-text-typography/wavy-text/index.html
+++ b/animations/05-text-typography/wavy-text/index.html
@@ -65,8 +65,8 @@
margin:calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2);border-radius:50%;background:var(--ui-accent)}
.stage[data-hb-mode="compare"] .cmp::after{content:"";position:absolute;left:-.2em;right:-.2em;top:calc(100% + .14em);border-top:1.5px dashed rgba(244,244,242,.45)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html b/animations/06-3d-advanced/2-5d-pseudo-3d/index.html
index e196f8a1..e0037c4b 100644
--- a/animations/06-3d-advanced/2-5d-pseudo-3d/index.html
+++ b/animations/06-3d-advanced/2-5d-pseudo-3d/index.html
@@ -93,8 +93,8 @@
.cmp .a-out{stroke:rgba(5,10,20,.85);stroke-width:6}
@media(prefers-reduced-motion:reduce){.scene-inner{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/3d-model-orbit/index.html b/animations/06-3d-advanced/3d-model-orbit/index.html
index 8e63bfbf..7ce6445d 100644
--- a/animations/06-3d-advanced/3d-model-orbit/index.html
+++ b/animations/06-3d-advanced/3d-model-orbit/index.html
@@ -42,8 +42,8 @@
.stage[data-hb-mode="compare"].stack .cap.second{left:10px;top:calc(50% + 6px)}
.stage.no-gl .cap,.stage.no-gl .sunlay{display:none!important}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/ascii-halftone/index.html b/animations/06-3d-advanced/ascii-halftone/index.html
index c35adbd5..1bc9ae92 100644
--- a/animations/06-3d-advanced/ascii-halftone/index.html
+++ b/animations/06-3d-advanced/ascii-halftone/index.html
@@ -32,8 +32,8 @@
.cap.s{white-space:nowrap}
.stage[data-hb-mode="inside"] .cap.in,.stage[data-hb-mode="compare"] .cap.cm{display:block}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/audio-visualizer/index.html b/animations/06-3d-advanced/audio-visualizer/index.html
index 044566e2..0ee5e677 100644
--- a/animations/06-3d-advanced/audio-visualizer/index.html
+++ b/animations/06-3d-advanced/audio-visualizer/index.html
@@ -42,8 +42,8 @@
.stage[data-hb-mode="inside"].st-bars .scale{display:flex;justify-content:space-between}
.row{left:10px}.row.first{top:10px}.row.second{top:var(--l2-y,50%)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/canvas-particle-effect/index.html b/animations/06-3d-advanced/canvas-particle-effect/index.html
index 7bdfb001..f5b34820 100644
--- a/animations/06-3d-advanced/canvas-particle-effect/index.html
+++ b/animations/06-3d-advanced/canvas-particle-effect/index.html
@@ -34,8 +34,8 @@
.side.second{left:calc(50% + 11px)}
@media(max-width:900px),(max-height:500px){.lg{display:none}.sh{display:inline}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/carousel-3d/index.html b/animations/06-3d-advanced/carousel-3d/index.html
index a36f6089..853230b4 100644
--- a/animations/06-3d-advanced/carousel-3d/index.html
+++ b/animations/06-3d-advanced/carousel-3d/index.html
@@ -90,8 +90,8 @@
@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,.stage[data-hb-mode="inside"] .view.ready .push,.stage[data-hb-mode="compare"] .view.ready .push{transition:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/chromatic-aberration/index.html b/animations/06-3d-advanced/chromatic-aberration/index.html
index 11acb659..6f52051c 100644
--- a/animations/06-3d-advanced/chromatic-aberration/index.html
+++ b/animations/06-3d-advanced/chromatic-aberration/index.html
@@ -100,8 +100,8 @@
.stage[data-hb-mode="compare"]::after{left:16px;right:16px;top:50%;bottom:auto;width:auto;height:1px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/cloth-simulation/index.html b/animations/06-3d-advanced/cloth-simulation/index.html
index 3a151977..d038c7eb 100644
--- a/animations/06-3d-advanced/cloth-simulation/index.html
+++ b/animations/06-3d-advanced/cloth-simulation/index.html
@@ -45,8 +45,8 @@
@media(max-width:600px),(max-height:660px){.key{gap:4px;padding:6px 10px}.k.pts{display:none}.k{max-width:200px;white-space:normal;text-wrap:balance}}
@media(max-width:600px){.lbl{font-size:12px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/depth-map-photo/index.html b/animations/06-3d-advanced/depth-map-photo/index.html
index 32ac7d85..d75b494f 100644
--- a/animations/06-3d-advanced/depth-map-photo/index.html
+++ b/animations/06-3d-advanced/depth-map-photo/index.html
@@ -41,8 +41,8 @@
.stage[data-hb-mode="inside"] .ring.you,.stage[data-hb-mode="compare"] .ring{display:block}
.stage[data-hb-mode="inside"] .ring.ghost{display:none}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/flip-card-3d/index.html b/animations/06-3d-advanced/flip-card-3d/index.html
index b70f5adb..fa00728f 100644
--- a/animations/06-3d-advanced/flip-card-3d/index.html
+++ b/animations/06-3d-advanced/flip-card-3d/index.html
@@ -115,8 +115,8 @@
.stage[data-hb-mode="compare"] .copy .card.axis-x:not(.flipped) .back{transform:rotateX(180deg)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/flocking/index.html b/animations/06-3d-advanced/flocking/index.html
index a4632391..88de1411 100644
--- a/animations/06-3d-advanced/flocking/index.html
+++ b/animations/06-3d-advanced/flocking/index.html
@@ -40,8 +40,8 @@
.half.first{left:10px}.half.second{left:calc(50% + 10px)}
@media(max-width:600px){.lab{font-size:12px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/fluid-simulation/index.html b/animations/06-3d-advanced/fluid-simulation/index.html
index 701c7a9c..910f1b32 100644
--- a/animations/06-3d-advanced/fluid-simulation/index.html
+++ b/animations/06-3d-advanced/fluid-simulation/index.html
@@ -38,8 +38,8 @@
.side.second{left:calc(50% + 10px)}
.stage.no-gl .key,.stage.no-gl .side{display:none!important}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/glassmorphism-animated/index.html b/animations/06-3d-advanced/glassmorphism-animated/index.html
index 4fd40599..31ca092b 100644
--- a/animations/06-3d-advanced/glassmorphism-animated/index.html
+++ b/animations/06-3d-advanced/glassmorphism-animated/index.html
@@ -112,8 +112,8 @@
.stage[data-hb-mode="compare"] .h-b{grid-column:5/8;grid-row:1;margin-top:0}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/gpgpu-particle-system/index.html b/animations/06-3d-advanced/gpgpu-particle-system/index.html
index 12f14cf8..fb36d0d0 100644
--- a/animations/06-3d-advanced/gpgpu-particle-system/index.html
+++ b/animations/06-3d-advanced/gpgpu-particle-system/index.html
@@ -38,8 +38,8 @@
@media (max-width:600px),(max-height:500px){.store{right:116px;max-width:calc(100% - 140px)}}
@media (max-width:360px){.cap{font-size:12px;line-height:16px;padding:3px 7px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/holographic-card/index.html b/animations/06-3d-advanced/holographic-card/index.html
index 485545a4..90ce582b 100644
--- a/animations/06-3d-advanced/holographic-card/index.html
+++ b/animations/06-3d-advanced/holographic-card/index.html
@@ -88,8 +88,8 @@
@media(prefers-reduced-motion:reduce){.cap{transition:none}.stage[data-hb-mode="inside"] .foil,.stage[data-hb-mode="inside"] .spot,
.stage[data-hb-mode="compare"] .foil,.stage[data-hb-mode="compare"] .spot{transition:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/image-distortion-hover/index.html b/animations/06-3d-advanced/image-distortion-hover/index.html
index be6afb09..c94e1fee 100644
--- a/animations/06-3d-advanced/image-distortion-hover/index.html
+++ b/animations/06-3d-advanced/image-distortion-hover/index.html
@@ -46,8 +46,8 @@
.stage.failed .ov,.stage.failed .key,.stage.failed .ptr{display:none!important}
@media(max-width:600px){.cap{font-size:12px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/infinite-zoom/index.html b/animations/06-3d-advanced/infinite-zoom/index.html
index 68ac621c..fc16f261 100644
--- a/animations/06-3d-advanced/infinite-zoom/index.html
+++ b/animations/06-3d-advanced/infinite-zoom/index.html
@@ -30,8 +30,8 @@
.cap.vw{color:var(--view)}
.stage[data-hb-mode="inside"] .cap.si,.stage[data-hb-mode="compare"] .cap.sc{display:block}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/liquid-glass/index.html b/animations/06-3d-advanced/liquid-glass/index.html
index 576ba692..c4beb41b 100644
--- a/animations/06-3d-advanced/liquid-glass/index.html
+++ b/animations/06-3d-advanced/liquid-glass/index.html
@@ -85,8 +85,8 @@
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=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/morphing-blob/index.html b/animations/06-3d-advanced/morphing-blob/index.html
index e953e3d1..8ad9684d 100644
--- a/animations/06-3d-advanced/morphing-blob/index.html
+++ b/animations/06-3d-advanced/morphing-blob/index.html
@@ -62,8 +62,8 @@
.stage[data-hb-mode="compare"] .nm.second{grid-column:2}
.stage[data-hb-mode="compare"]::after{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:rgba(255,255,255,.16)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/noise-based-motion/index.html b/animations/06-3d-advanced/noise-based-motion/index.html
index 4d00c488..e644ecfd 100644
--- a/animations/06-3d-advanced/noise-based-motion/index.html
+++ b/animations/06-3d-advanced/noise-based-motion/index.html
@@ -35,8 +35,8 @@
.side.second{left:calc(50% + 10px)}
@media(max-width:360px){.lbl{font-size:12px;padding:3px 7px}.side.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/parallax-3d-tilt/index.html b/animations/06-3d-advanced/parallax-3d-tilt/index.html
index 80e6f5d1..2bf34a14 100644
--- a/animations/06-3d-advanced/parallax-3d-tilt/index.html
+++ b/animations/06-3d-advanced/parallax-3d-tilt/index.html
@@ -107,8 +107,8 @@
.stage[data-hb-mode="inside"] .k-flat{bottom:var(--cap-y)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/physics-2d/index.html b/animations/06-3d-advanced/physics-2d/index.html
index e29263de..b188b384 100644
--- a/animations/06-3d-advanced/physics-2d/index.html
+++ b/animations/06-3d-advanced/physics-2d/index.html
@@ -40,8 +40,8 @@
.half.first{left:25%}.half.second{left:75%}
@media(max-width:600px){.lbl{font-size:12px}.key{max-width:48%}.more{display:none}} /* on a phone the key keeps the short words, so it stays clear of the pile */
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/ray-marching-sdf/index.html b/animations/06-3d-advanced/ray-marching-sdf/index.html
index 9049018c..e018e581 100644
--- a/animations/06-3d-advanced/ray-marching-sdf/index.html
+++ b/animations/06-3d-advanced/ray-marching-sdf/index.html
@@ -50,8 +50,8 @@
@media (max-width:600px) and (min-height:501px){.ibox{width:auto;right:10px;max-height:calc(50% - 22px)}.pane{flex-basis:84px}}
@media (max-width:600px),(max-height:500px){.cap{font-size:12px;line-height:16px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/scroll-driven-3d-rotation/index.html b/animations/06-3d-advanced/scroll-driven-3d-rotation/index.html
index 8f443d70..ae7d8995 100644
--- a/animations/06-3d-advanced/scroll-driven-3d-rotation/index.html
+++ b/animations/06-3d-advanced/scroll-driven-3d-rotation/index.html
@@ -90,8 +90,8 @@
}
@media(prefers-reduced-motion:reduce){.obj-wrap{transition:none!important}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="scroll" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/svg-path-animation/index.html b/animations/06-3d-advanced/svg-path-animation/index.html
index 7c04941f..bd8e71bd 100644
--- a/animations/06-3d-advanced/svg-path-animation/index.html
+++ b/animations/06-3d-advanced/svg-path-animation/index.html
@@ -82,8 +82,8 @@
.cap-a{max-width:calc(100% - 16px)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="once" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/volumetric-smoke/index.html b/animations/06-3d-advanced/volumetric-smoke/index.html
index 836f682f..0ea103df 100644
--- a/animations/06-3d-advanced/volumetric-smoke/index.html
+++ b/animations/06-3d-advanced/volumetric-smoke/index.html
@@ -43,8 +43,8 @@
.ov .gold{stroke:var(--gold)}
.ov .ray.gold{stroke-width:1.5}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/water-ripple/index.html b/animations/06-3d-advanced/water-ripple/index.html
index b782c8ab..71a6402e 100644
--- a/animations/06-3d-advanced/water-ripple/index.html
+++ b/animations/06-3d-advanced/water-ripple/index.html
@@ -43,8 +43,8 @@
.in.crest{left:10px;top:10px}.in.patch{right:10px;bottom:104px;text-align:right}.in.read{left:10px;bottom:10px}
.half-name{top:10px}.half-name.first{left:10px}.half-name.second{left:calc(50% + 10px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="do" data-hb-autoplay>
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/06-3d-advanced/webgl-shader-animation/index.html b/animations/06-3d-advanced/webgl-shader-animation/index.html
index 4d442b32..03a274f1 100644
--- a/animations/06-3d-advanced/webgl-shader-animation/index.html
+++ b/animations/06-3d-advanced/webgl-shader-animation/index.html
@@ -40,8 +40,8 @@
.stage[data-hb-mode="inside"] .pick{display:block}
.stage.failed .lbl,.stage.failed .pick{display:none!important}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/abstract-geometric-motion/index.html b/animations/07-ambient-background/abstract-geometric-motion/index.html
index 22535ed7..1f7db728 100644
--- a/animations/07-ambient-background/abstract-geometric-motion/index.html
+++ b/animations/07-ambient-background/abstract-geometric-motion/index.html
@@ -32,8 +32,8 @@
.side{top:10px}.side.first{left:10px}.side.second{left:calc(50% + 10px)}
@media(max-width:360px){.lbl{font-size:12px;padding:3px 7px}.side.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/ambient-ripple/index.html b/animations/07-ambient-background/ambient-ripple/index.html
index f256376a..106f4a3d 100644
--- a/animations/07-ambient-background/ambient-ripple/index.html
+++ b/animations/07-ambient-background/ambient-ripple/index.html
@@ -46,8 +46,8 @@
.stage[data-hb-mode="inside"] .fg-card,.stage[data-hb-mode="compare"] .fg-card{display:none}
@media(max-width:400px){.lbl{font-size:12px;padding:3px 7px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/animated-gradient-background/index.html b/animations/07-ambient-background/animated-gradient-background/index.html
index 5ed1655f..371c1472 100644
--- a/animations/07-ambient-background/animated-gradient-background/index.html
+++ b/animations/07-ambient-background/animated-gradient-background/index.html
@@ -115,8 +115,8 @@
@media(max-width:600px){.cmp-name span{display:block}}
@media(max-width:600px),(max-height:500px){.stage[data-hb-mode="compare"] .fg-card,.stage[data-hb-mode="compare"] .cmp-card{display:none}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/aurora/index.html b/animations/07-ambient-background/aurora/index.html
index f036ee2a..96bcffc8 100644
--- a/animations/07-ambient-background/aurora/index.html
+++ b/animations/07-ambient-background/aurora/index.html
@@ -102,8 +102,8 @@
.stage[data-hb-mode="compare"] .cap-l{left:8px;transform:none}
.stage[data-hb-mode="compare"] .cap-r{left:calc(50% + 8px);transform:none}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/breathing-glow/index.html b/animations/07-ambient-background/breathing-glow/index.html
index 8e8e0bb2..9c63914c 100644
--- a/animations/07-ambient-background/breathing-glow/index.html
+++ b/animations/07-ambient-background/breathing-glow/index.html
@@ -110,8 +110,8 @@
.stage[data-hb-mode="compare"] .center-el{grid-area:2/2/3/3;place-self:center}
@media(max-width:600px),(max-height:500px){.stage[data-hb-mode="compare"]{--cs:.5}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/fire-effect/index.html b/animations/07-ambient-background/fire-effect/index.html
index 2ee54e68..5ed29d28 100644
--- a/animations/07-ambient-background/fire-effect/index.html
+++ b/animations/07-ambient-background/fire-effect/index.html
@@ -40,8 +40,8 @@
.cmp{top:10px}.cmp.first{left:10px}.cmp.second{left:calc(50% + 10px)}
@media(max-width:360px){.cmp.second{left:10px;top:calc(50% + 10px)}.divide{left:0;top:calc(50% - 1px);width:100%;height:2px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/fireworks/index.html b/animations/07-ambient-background/fireworks/index.html
index 97ed0dad..6c9eb928 100644
--- a/animations/07-ambient-background/fireworks/index.html
+++ b/animations/07-ambient-background/fireworks/index.html
@@ -46,8 +46,8 @@
.stage[data-hb-mode="compare"] .city{display:none}
@media(max-width:600px){.cap{font-size:12px;line-height:16px}.key{padding:4px 8px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/floating-elements/index.html b/animations/07-ambient-background/floating-elements/index.html
index ff1aee3c..c309f208 100644
--- a/animations/07-ambient-background/floating-elements/index.html
+++ b/animations/07-ambient-background/floating-elements/index.html
@@ -50,8 +50,8 @@
.stage[data-hb-mode="compare"] .el.skip{display:none}
@media(max-width:360px){.lbl{font-size:12px;line-height:15px;padding:3px 7px}.side.first{left:6px}.side.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/flow-field/index.html b/animations/07-ambient-background/flow-field/index.html
index 569e44f8..6835b709 100644
--- a/animations/07-ambient-background/flow-field/index.html
+++ b/animations/07-ambient-background/flow-field/index.html
@@ -37,8 +37,8 @@
.side.second{left:calc(50% + 10px)}
@media(max-width:360px){.lbl{font-size:12px;padding:3px 7px}.side.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/game-of-life/index.html b/animations/07-ambient-background/game-of-life/index.html
index a7f47eb8..e11edcfc 100644
--- a/animations/07-ambient-background/game-of-life/index.html
+++ b/animations/07-ambient-background/game-of-life/index.html
@@ -39,8 +39,8 @@
.mk.born{background:none;border:1px solid #fff}
.mk.rate{background:none;border:2px solid #f4f4f2;border-top-color:transparent;border-radius:50%}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/grain-overlay/index.html b/animations/07-ambient-background/grain-overlay/index.html
index cbf71bc6..c45eec7a 100644
--- a/animations/07-ambient-background/grain-overlay/index.html
+++ b/animations/07-ambient-background/grain-overlay/index.html
@@ -67,8 +67,8 @@
/* both windows get the same lift, so the faint grain can be seen; the half names say so */
.stage[data-hb-mode="compare"] .half,.stage[data-hb-mode="compare"] .win{filter:brightness(2.2) contrast(1.3) saturate(2)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/grid-dot-pattern-parallax/index.html b/animations/07-ambient-background/grid-dot-pattern-parallax/index.html
index 28f109f4..b127c524 100644
--- a/animations/07-ambient-background/grid-dot-pattern-parallax/index.html
+++ b/animations/07-ambient-background/grid-dot-pattern-parallax/index.html
@@ -87,8 +87,8 @@
.key{--L:64;gap:4px 10px;padding:6px 9px}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/ken-burns/index.html b/animations/07-ambient-background/ken-burns/index.html
index 83c63c6f..f97f6113 100644
--- a/animations/07-ambient-background/ken-burns/index.html
+++ b/animations/07-ambient-background/ken-burns/index.html
@@ -92,8 +92,8 @@
.fl,.fc{animation:none;transform:var(--l3)}
}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/light-leak/index.html b/animations/07-ambient-background/light-leak/index.html
index 3891d2eb..0e349467 100644
--- a/animations/07-ambient-background/light-leak/index.html
+++ b/animations/07-ambient-background/light-leak/index.html
@@ -79,8 +79,8 @@
.tk{position:absolute;left:0;bottom:0;width:4px;height:100%;border-radius:2px 2px 0 0;background:var(--lk);transform-origin:50% 100%}
@media(max-width:600px){.lab{font-size:12px}.stage[data-hb-mode="inside"] .photo-mock{height:clamp(56px,22%,90px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/light-rays/index.html b/animations/07-ambient-background/light-rays/index.html
index 1be5ff01..ce1ab66a 100644
--- a/animations/07-ambient-background/light-rays/index.html
+++ b/animations/07-ambient-background/light-rays/index.html
@@ -49,8 +49,8 @@
.stage[data-hb-mode="compare"]::after{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;margin-left:-1px;background:rgba(244,244,242,.3)}
@media(max-width:600px){.tag{font-size:12px;padding:3px 8px}.key{gap:3px}.kr{padding-left:6px}.half.two{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/lightning/index.html b/animations/07-ambient-background/lightning/index.html
index 3957e883..19cd7f41 100644
--- a/animations/07-ambient-background/lightning/index.html
+++ b/animations/07-ambient-background/lightning/index.html
@@ -40,8 +40,8 @@
.stage[data-hb-mode="inside"] .in,.stage[data-hb-mode="compare"] .half{display:block}
.half{top:10px}.half.first{left:10px}.half.second{left:calc(50% + 10px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/matrix-rain/index.html b/animations/07-ambient-background/matrix-rain/index.html
index 54779dcf..5ac60257 100644
--- a/animations/07-ambient-background/matrix-rain/index.html
+++ b/animations/07-ambient-background/matrix-rain/index.html
@@ -39,8 +39,8 @@
.stage[data-hb-mode="compare"] .mr-half{display:block}
@media(max-width:600px){.mr-keys{left:6px;top:6px;gap:5px;padding:5px 8px}.mr-keys,.mr-half{font-size:12px}.mr-half{top:6px;left:6px;padding:2px 7px}.mr-half.two{margin-left:6px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/mesh-gradient/index.html b/animations/07-ambient-background/mesh-gradient/index.html
index 71f9920e..41760a5c 100644
--- a/animations/07-ambient-background/mesh-gradient/index.html
+++ b/animations/07-ambient-background/mesh-gradient/index.html
@@ -78,8 +78,8 @@
.half.first{left:10px}
.half.second{left:calc(50% + 10px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/particle-constellation/index.html b/animations/07-ambient-background/particle-constellation/index.html
index c57323ba..4c04b25c 100644
--- a/animations/07-ambient-background/particle-constellation/index.html
+++ b/animations/07-ambient-background/particle-constellation/index.html
@@ -37,8 +37,8 @@
.stage[data-hb-mode="inside"] .pull:not([hidden]),.stage[data-hb-mode="compare"] .side{display:block}
@media(max-width:360px){.lbl{font-size:12px;padding:3px 7px}.side.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/plasma/index.html b/animations/07-ambient-background/plasma/index.html
index 52d14418..233f82c9 100644
--- a/animations/07-ambient-background/plasma/index.html
+++ b/animations/07-ambient-background/plasma/index.html
@@ -33,8 +33,8 @@
@media(max-width:600px){.stage[data-hb-mode="inside"] .cap.in.pic{display:none}}
@media(max-width:360px){.cap{font-size:12px;padding:3px 7px}.cap.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/scanline/index.html b/animations/07-ambient-background/scanline/index.html
index 0379ac3a..a4c55460 100644
--- a/animations/07-ambient-background/scanline/index.html
+++ b/animations/07-ambient-background/scanline/index.html
@@ -107,8 +107,8 @@
.stage[data-hb-mode="compare"] .side{display:block;top:8px}
.side-a{left:8px}.side-b{left:calc(50% + 8px)}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/snow-rain/index.html b/animations/07-ambient-background/snow-rain/index.html
index fcd1dc55..ec623126 100644
--- a/animations/07-ambient-background/snow-rain/index.html
+++ b/animations/07-ambient-background/snow-rain/index.html
@@ -45,8 +45,8 @@
.side.second{left:calc(50% + 10px)}
@media(max-width:360px){.lbl{font-size:12px;padding:3px 7px}.sr-key{padding:3px 10px 3px 4px}.side.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/starfield/index.html b/animations/07-ambient-background/starfield/index.html
index 0855aa13..b159aee7 100644
--- a/animations/07-ambient-background/starfield/index.html
+++ b/animations/07-ambient-background/starfield/index.html
@@ -58,8 +58,8 @@
.stage[data-hb-mode="inside"] .fg-card,.stage[data-hb-mode="compare"] .fg-card{display:none}
@media(max-width:360px){.lbl{font-size:12px;padding:3px 7px}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/synthwave-grid/index.html b/animations/07-ambient-background/synthwave-grid/index.html
index 77d2a322..a8beec9d 100644
--- a/animations/07-ambient-background/synthwave-grid/index.html
+++ b/animations/07-ambient-background/synthwave-grid/index.html
@@ -37,8 +37,8 @@
@media(max-width:600px){.lbl{font-size:12px;line-height:15px;padding:3px 8px}}
@media(max-width:360px){.side.second{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/topographic-lines/index.html b/animations/07-ambient-background/topographic-lines/index.html
index abad22db..6cd19169 100644
--- a/animations/07-ambient-background/topographic-lines/index.html
+++ b/animations/07-ambient-background/topographic-lines/index.html
@@ -50,8 +50,8 @@
}
@media(max-width:360px){.cap{font:600 12px/16px var(--hb-font);padding:5px 8px}.c2{left:calc(50% + 6px)}}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/animations/07-ambient-background/wave-layers/index.html b/animations/07-ambient-background/wave-layers/index.html
index f6cc9342..b6aab89e 100644
--- a/animations/07-ambient-background/wave-layers/index.html
+++ b/animations/07-ambient-background/wave-layers/index.html
@@ -92,8 +92,8 @@
.gauge.same .ar{--s:1.25}
.ins [hidden],.cmp [hidden]{display:none}
</style>
- <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=10">
- <script src="../../../assets/js/demo-page.js?v=10" defer></script>
+ <link rel="stylesheet" href="../../../assets/css/demo-page.css?v=11">
+ <script src="../../../assets/js/demo-page.js?v=11" defer></script>
</head>
<body class="hb" data-hb-kind="loop">
<nav class="hb-bar" aria-label="Animation Handbook">
diff --git a/assets/css/demo-page.css b/assets/css/demo-page.css
index eb9dc12f..ea2c48fd 100644
--- a/assets/css/demo-page.css
+++ b/assets/css/demo-page.css
@@ -173,12 +173,18 @@ 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) */
+/* Under the prompt card: a sentence and an outline Star on GitHub button (full width on phones). Once the visitor has copied the
+ prompt the shared script marks the row is-asked: the sentence brightens and the button's edge and star turn gold, with one
+ small pulse where motion is welcome. */
.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}
+.hb-star-row.is-asked p{color:var(--hb-text)}
+.hb-star-row.is-asked .hb-star-btn{border-color:#f2c14e}
+.hb-star-row.is-asked .hb-star-btn .hb-ic{fill:#f2c14e;stroke:#f2c14e}
+@keyframes hb-ask{0%,100%{transform:scale(1)}40%{transform:scale(1.06)}}
/* 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);
@@ -323,6 +329,9 @@ textarea.hb-text{min-height:88px;padding:10px 12px;resize:vertical}
.hb-foot{justify-content:space-between}
.hb-foot>span{flex-basis:100%}
}
+@media(prefers-reduced-motion:no-preference){
+ .hb-star-row.is-asked .hb-star-btn{animation:hb-ask .7s ease-out}
+}
@media(prefers-reduced-motion:reduce){
.hb-page .seg button,.hb-options>summary .hb-ic{transition:none}
}
diff --git a/assets/js/demo-page.js b/assets/js/demo-page.js
index 03230bee..0b8792a8 100644
--- a/assets/js/demo-page.js
+++ b/assets/js/demo-page.js
@@ -1,5 +1,6 @@
/* Animation Handbook — shared behaviour for the guided-steps demo pages.
- * Fills in "Your settings", Copy prompt (its text built by pageCopyText, which the home page uses too), the README's
+ * Fills in "Your settings", Copy prompt (its text built by pageCopyText, which the home page uses too) and the star ask (the
+ * first copy that works marks the star row under the prompt card), the README's
* "What it is" and "Similar animations", plays the demo on arrival, replays it when a setting changes, runs
* Pause and CSS slow motion on loop pages, presses Show me on do-it pages (not on arrival
* when the visitor has already acted in the stage) and tells the page when the visitor
@@ -229,6 +230,7 @@
var chipsBox = page.querySelector('.hb-chips-box');
var chips = chipsBox && chipsBox.querySelector('.hb-chips');
var copyBtn = page.querySelector('.hb-copy');
+ var starRow = page.querySelector('.hb-star-row');
var replayCtl = page.querySelector('[data-hb-replay]');
var loopCtl = page.querySelector('[data-hb-loop]');
var slowCtl = page.querySelector('[data-hb-slowmo]');
@@ -326,15 +328,21 @@
selection.addRange(range);
show(/Mac|iPhone|iPad/.test(win.navigator.platform || win.navigator.userAgent) ? 'Press ⌘C to copy' : 'Press Ctrl+C to copy', false);
}
+ // The star ask: a copy that works marks the star row under the card, and the stylesheet lights its button (the mark
+ // stays, so the button lights once). The prompt in hand is the moment the page has helped; nothing scrolls or takes focus.
+ function copied() {
+ show('Copied', true);
+ if (starRow) starRow.classList.add('is-asked');
+ }
function fallback(textToCopy) {
- if (copyThroughTextBox(textToCopy)) show('Copied', true);
+ if (copyThroughTextBox(textToCopy)) copied();
else selectInstead();
}
copyBtn.addEventListener('click', function () {
var textToCopy = copyText();
var clip = win.navigator.clipboard;
if (clip && clip.writeText) {
- clip.writeText(textToCopy).then(function () { show('Copied', true); }, function () { fallback(textToCopy); });
+ clip.writeText(textToCopy).then(copied, function () { fallback(textToCopy); });
} else {
fallback(textToCopy);
}
diff --git a/index.html b/index.html
index e78913bb..9c0f8659 100644
--- a/index.html
+++ b/index.html
@@ -55,7 +55,7 @@ function setTheme(t){document.documentElement.dataset.theme=t;document.querySele
// has drawn the finder, so the start page is not painted first. Once the page is read the class goes in any case: if the script
// failed, the start page still shows.
(function(){var p=new URLSearchParams(location.search);if(p.get('view')!=='find'||(p.get('q')||'').trim()||p.get('place'))return;var h=document.documentElement;h.classList.add('fd-direct');addEventListener('DOMContentLoaded',function(){h.classList.remove('fd-direct');});})();</script>
-<script src="assets/js/demo-page.js?v=10" defer></script>
+<script src="assets/js/demo-page.js?v=11" 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}
@@ -253,6 +253,8 @@ button,input{font:inherit;color:inherit}
.empty-t{font-size:22px;font-weight:800}
.empty-s{font-size:16px;color:var(--muted)}
.empty .pop{margin-top:0}
+.empty-ask{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;margin-top:6px;font-size:15px;color:var(--muted)}
+.empty-ask .pillbtn{color:var(--ink);text-decoration:none}
.noscript{max-width:60ch;margin-top:16px;line-height:1.7;color:var(--ink-2)}
/* how it works, footer, message */
@@ -3208,6 +3210,7 @@ button,input{font:inherit;color:inherit}
<p class="empty-t" id="empty-title">Nothing matches that yet</p>
<p class="empty-s">Try a simpler word, or pick one of these:</p>
<p class="pop"><button type="button" data-q="fade in">fade in</button><button type="button" data-q="typing text">typing text</button><button type="button" data-q="loading spinner">loading spinner</button><button type="button" data-q="parallax">parallax</button><button type="button" data-q="confetti">confetti</button></p>
+ <p class="empty-ask">Not in the handbook yet? <a class="pillbtn" id="empty-gh" href="https://github.com/matinmonshizadeh/animation-handbook/issues/new?template=animation_not_here.yml" target="_blank" rel="noopener">Ask for it on GitHub</a></p>
</div>
<div class="more" id="more"><button type="button" class="bigbtn" id="more-btn"><span id="more-label">Browse all 176 animations</span><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M6 13l6 6 6-6"/></svg></button></div>
<div class="fd-not" id="find-not" hidden>
@@ -3909,6 +3912,142 @@ const FIND={
'fire-effect':['background','loop','glitch color drift'],
'lightning':['background shape','loop click','glitch color']
};
+// Everyday words a visitor may type for a card that its name, places and description do not say: another name for the effect
+// (lightbox, snackbar), the part of a page it is (navbar, tabs), a code library people name the technique by (aos, lenis) or a
+// common misspelling (accordian). Only words that truly mean the card, never the name of a company or of something it sells,
+// and none the card says already (a test checks that). A word for something the handbook does not have gets no card: the empty
+// result then offers Ask for it. An extra word counts only when (nearly) all of it is typed: see score().
+const WORDS={
+ // 01
+ 'parallax-depth-of-field':'bokeh',
+ 'cover-card-to-fixed-header':'sticky',
+ 'snap-scrolling':'carousel',
+ 'scrollytelling':'storytelling',
+ 'reveal-on-scroll':'aos',
+ 'stagger-reveal':'cascade',
+ 'horizontal-scroll':'gallery',
+ 'counter-animation':'countup',
+ 'progress-bar':'progressbar indicator',
+ 'scroll-image-sequence':'frames',
+ 'smooth-scroll':'lenis',
+ 'svg-line-draw':'path',
+ 'scrollspy-nav':'navbar toc',
+ 'hide-on-scroll-header':'navbar nav headroom',
+ // 02
+ 'fade-in-out':'opacity fadein',
+ 'scale-in':'scaleup',
+ 'clip-path-reveal':'mask clippath',
+ 'curtain-reveal':'shutter',
+ 'split-text-reveal':'splittext',
+ 'letter-by-letter-stagger':'character',
+ 'blur-in':'unblur',
+ 'bounce-in':'overshoot',
+ 'shatter-effect':'explode explosion shards',
+ 'ink-spread-reveal':'watercolor',
+ // 03
+ 'view-transitions-api':'barba swup',
+ 'flash-transition':'whiteout flare',
+ 'elastic-transition':'overshoot',
+ 'portal-zoom':'wormhole iris',
+ 'dissolve':'disintegrate',
+ 'flip-technique':'filter shuffle',
+ 'circle-reveal':'iris mask radial',
+ 'page-curl':'pageturn',
+ 'pixelate-transition':'mosaic',
+ // 04
+ 'hover-state':'rollover',
+ 'focus-ring':'outline accessibility keyboard',
+ 'button-press-scale':'squish',
+ 'magnetic-button':'attract',
+ 'heart-burst':'favorite love',
+ 'success-confetti':'celebrate celebration party',
+ 'skeleton-loader':'skelton',
+ 'shimmer-effect':'shine sheen',
+ 'loading-spinner':'throbber preloader',
+ 'progress-animation':'stepper indicator progressbar',
+ 'checkmark-draw':'success',
+ 'form-field-morph':'floating input textfield',
+ 'tooltip-reveal':'hint',
+ 'drawer-slide':'sidebar offcanvas sheet',
+ 'modal-expand':'lightbox',
+ 'accordion':'accordian collapse',
+ 'error-shake':'validation invalid',
+ 'swipe-to-dismiss':'delete remove',
+ 'hamburger-menu-toggle':'burger nav navbar',
+ 'theme-toggle-morph':'darkmode',
+ 'toast-notification':'snackbar alert',
+ 'segmented-control':'tabs tabbar',
+ 'pull-to-refresh':'reload',
+ 'spotlight-hover':'flashlight',
+ 'add-to-cart-fly':'basket ecommerce',
+ 'drag-to-reorder':'sortable draggable rearrange',
+ 'rolling-numbers':'odometer countup',
+ 'typing-indicator':'thinking ellipsis',
+ 'hold-to-confirm':'longpress',
+ 'expanding-search':'searchbar',
+ 'button-loading-states':'submit',
+ 'gooey-menu':'fab metaball radial',
+ 'before-after-slider':'beforeafter comparison',
+ 'magnifier-lens':'magnify zoom loupe',
+ // 05
+ 'scramble-text':'decode decrypt',
+ 'variable-font-morph':'weight',
+ 'text-clip-path-reveal':'mask',
+ 'marquee-ticker':'infinite crawl',
+ 'rotate-word-carousel':'rotator cycle',
+ 'glitch-text':'glich rgb',
+ 'text-on-path':'curve circular',
+ 'split-flap-board':'departures',
+ 'handwriting-draw':'cursive calligraphy',
+ 'text-particles':'disperse',
+ // 06
+ '3d-model-orbit':'viewer',
+ 'parallax-3d-tilt':'vanillatilt',
+ 'canvas-particle-effect':'plexus',
+ 'glassmorphism-animated':'glassmorphisim translucent',
+ 'webgl-shader-animation':'glsl',
+ 'noise-based-motion':'perlin simplex',
+ 'svg-path-animation':'dashoffset lineart',
+ 'chromatic-aberration':'rgb',
+ '2-5d-pseudo-3d':'fake',
+ 'ray-marching-sdf':'raymarching',
+ 'gpgpu-particle-system':'gpu',
+ 'image-distortion-hover':'warp displacement',
+ 'cloth-simulation':'fabric flag',
+ 'volumetric-smoke':'fog mist steam',
+ 'morphing-blob':'metaball lava gooey',
+ 'carousel-3d':'carosel carousal slider gallery',
+ 'flocking':'boids swarm murmuration',
+ 'ascii-halftone':'dither',
+ 'physics-2d':'gravity collision matterjs',
+ 'liquid-glass':'refraction',
+ 'holographic-card':'hologram iridescent',
+ 'infinite-zoom':'droste recursive',
+ 'audio-visualizer':'equalizer waveform sound spectrum',
+ // 07
+ 'mesh-gradient':'orbs',
+ 'aurora':'borealis',
+ 'grain-overlay':'grainy vintage texture',
+ 'scanline':'crt vhs',
+ 'light-leak':'flare filmburn',
+ 'starfield':'galaxy warp hyperspace',
+ 'breathing-glow':'pulse heartbeat',
+ 'ambient-ripple':'water droplets',
+ 'abstract-geometric-motion':'geometry',
+ 'particle-constellation':'plexus network',
+ 'flow-field':'generative',
+ 'synthwave-grid':'vaporwave outrun 80s',
+ 'matrix-rain':'hacker',
+ 'plasma':'psychedelic trippy demoscene',
+ 'wave-layers':'ocean divider',
+ 'snow-rain':'snowfall snowflakes weather christmas',
+ 'topographic-lines':'contour terrain',
+ 'light-rays':'godrays',
+ 'game-of-life':'conway cellular automata',
+ 'ken-burns':'kenburns gallery',
+ 'fire-effect':'burn campfire',
+ 'lightning':'thunder storm electric'
+};
// The finder's three questions in order (spec, section 2): each answer's key (in the address and in FIND), its words (which name
// it) and its picture: a still icon in the site's 24px line style for What and When, the class of a small moving picture for How
// (drawn at the end of the stylesheet). weight is what a question counts for in findScore. Not sure, at the end of each
@@ -4353,7 +4492,7 @@ const ALL=[];
CATS.forEach(cat=>cat.entries.forEach(([slug,name,desc])=>{
const places=PLACES[slug]||[];
ALL.push({slug,name,desc,cat,places,order:ALL.length,url:`${cat.folder}/${slug}/`,
- nameW:keyWords(name),placeW:keyWords(places.map(k=>PLACE[k].name).join(' ')),descW:keyWords(desc+' '+cat.name)});
+ nameW:keyWords(name),placeW:keyWords(places.map(k=>PLACE[k].name).join(' ')),moreW:keyWords(WORDS[slug]||''),descW:keyWords(desc+' '+cat.name)});
}));
const BY_SLUG=Object.fromEntries(ALL.map(e=>[e.slug,e]));
const ICON_COPY='<svg class="i" viewBox="0 0 24 24" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg>';
@@ -4546,12 +4685,13 @@ const PAGE=8;
const FIND_PAGE=12; // the finder shows twelve cards before Show all
// A typed word drops the first of these endings that leaves at least three letters with a vowel ("ring" stays whole), never
// the s of "ss"; after "ing" or "ed" a doubled last letter other than l, s, f or z goes too while at least three stay
-// (snapping → snap, added → add).
+// (snapping → snap, added → add). A short word in "eed" keeps its "ed" (speed, not "spe", which would find "spectrum"); a
+// longer one loses it (succeed → succe, which finds "success").
function stem(w){
if(w.endsWith('ss'))return w;
for(const end of ['ies','ing','ed','es','s']){
const rest=w.slice(0,-end.length);
- if(!w.endsWith(end)||rest.length<3||!/[aeiouy]/.test(rest))continue;
+ if(!w.endsWith(end)||rest.length<3||!/[aeiouy]/.test(rest)||(end==='ed'&&rest.endsWith('e')&&rest.length<5))continue;
return (end==='ing'||end==='ed')&&rest.length>3&&/([bcdghjkmnpqrtvwx])\1$/.test(rest)?rest.slice(0,-1):rest;
}
return w;
@@ -4560,27 +4700,41 @@ function queryWords(text){return [...new Set(keyWords(text).map(stem))];}
// Everyday words that mean the same here, each written as the start of its words (bounc: bounce, bouncy, bouncing). A typed
// word that starts with one of them also finds the cards that use another word of its group, so "a button that bounces when
// clicked" finds Button Press Scale, which "springs back" as you "press" it.
-const SAME=[['bounc','spring','elastic'],['click','press','tap'],['parallax','depth'],['mouse','pointer'],
+const SAME=[['bounc','spring','elastic'],['click','press','tap'],['parallax','paralax','parallex','depth'],['mouse','pointer'],
+ ['shin','shimmer','spark','glitter','gleam','glint'],['color','colour'],['gray','grey'],
['shak','wobbl','wiggl','jiggl'],['loader','loading'],['popup','modal','dialog'],['scrolltrigger','trigger']];
-// A word counts 3 in the name, 2 in a place name, 1 in the description or category; each is matched by the start of a word.
+// A word counts 3 in the name, 2 in a place name or among the card's extra words (WORDS), 1 in the description or category; each
+// is matched by the start of a word. Of two cards with the same score, the one that has more of the typed words comes first (hit).
// A card without the typed word but with another word of its group gets a third of that, once, where it counts most, so for
// one word it never passes a card that has the word itself. The score is kept in thirds, so it stays a whole number; own is
// the score of the typed words alone, and breaks ties.
function score(e,words){
- const lists=[[e.nameW,3],[e.placeW,2],[e.descW,1]];
- let s=0,own=0;
+ const lists=[[e.nameW,3],[e.placeW,2],[e.moreW,2],[e.descW,1]];
+ // An extra word is another name for the card, so it counts only when all of it is typed, or all but its ending: the typed
+ // word may be one letter short of it, or two when it has four letters or more, and the extra word is tried with its own
+ // ending cut as well. "tab" finds "tabs", "think" finds "thinking" and "celebrat" finds "celebrate", but "page" does not
+ // find "pageturn" and "bar" does not find "barba".
+ const near=(x,w)=>x.startsWith(w)&&(x.length-w.length<2||(x.length-w.length===2&&w.length>3));
+ const has=(list,w)=>list.some(x=>list===e.moreW?near(x,w)||near(stem(x),w):x.startsWith(w));
+ let s=0,own=0,hit=0;
for(const w of words){
- const word=lists.reduce((n,[list,k])=>n+(list.some(x=>x.startsWith(w))?k:0),0);
+ const word=lists.reduce((n,[list,k])=>n+(has(list,w)?k:0),0);
const group=SAME.filter(g=>g.some(start=>w.startsWith(start))).flat();
- s+=word?3*word:Math.max(0,...lists.map(([list,k])=>list.some(x=>group.some(start=>x.startsWith(start)))?k:0));
- own+=word;
+ const add=word?3*word:Math.max(0,...lists.map(([list,k])=>list.some(x=>group.some(start=>x.startsWith(start)))?k:0));
+ s+=add;own+=word;if(add)hit++;
}
- return {s,own};
+ return {s,own,hit};
}
function search(text){
const words=queryWords(text);
if(!words.length)return [];
- return ALL.map(e=>({e,...score(e,words)})).filter(x=>x.s>0).sort((a,b)=>b.s-a.s||b.own-a.own||a.e.order-b.e.order).map(x=>x.e);
+ return ALL.map(e=>({e,...score(e,words)})).filter(x=>x.s>0).sort((a,b)=>b.s-a.s||b.hit-a.hit||b.own-a.own||a.e.order-b.e.order).map(x=>x.e);
+}
+// Ask for it, under Nothing matches: GitHub's form animation_not_here.yml with its title and its answers field filled in (as the
+// finder's Not here? link does): the typed words, then the address that searches for them. Nothing personal.
+function askURL(text){
+ return 'https://github.com/matinmonshizadeh/animation-handbook/issues/new?template=animation_not_here.yml&title='+encodeURIComponent('[not here] '+text)+
+ '&answers='+encodeURIComponent('Searched for “'+text+'” — https://matinmonshizadeh.github.io/animation-handbook/?q='+encodeURIComponent(text));
}
// ---------- The finder's matching ----------
// The finder's part of an address: ?view=find, then what, when and how for each question answered (nothing, Not sure or an
@@ -4642,7 +4796,7 @@ function showGroups(){
const state={q:'',place:'',view:'',all:false,what:'',when:'',how:''};
const isFiltered=()=>!!(state.q||state.place||state.view);
const q=$('q'),q2=$('q2'),qClear=$('q-clear'),titleEl=$('results-title'),subEl=$('results-sub'),clearBtn=$('clear-view'),
- emptyEl=$('empty'),emptyTitle=$('empty-title'),moreBox=$('more'),moreLabel=$('more-label');
+ emptyEl=$('empty'),emptyTitle=$('empty-title'),emptyGh=$('empty-gh'),moreBox=$('more'),moreLabel=$('more-label');
let moreAction='all';
const pinbar=$('pinbar'),spotsEl=$('spots');
// The phone bar is there while a view other than Start or the finder is open and while its own search box has focus, so emptying the box does not take the box away; never in the finder.
@@ -4676,7 +4830,7 @@ function render(answered){
if(found)showFound(found);else if(list)showCards(state.all||!filtered?list:list.slice(0,PAGE));else showGroups();
const empty=!!list&&!list.length,matched=found?found.best.length+found.close.length:0;
emptyEl.hidden=!empty;
- if(empty)emptyTitle.textContent='Nothing matches “'+state.q+'” yet';
+ if(empty){emptyTitle.textContent='Nothing matches “'+state.q+'” yet';emptyGh.href=askURL(state.q);}
if(finding){moreAction='expand';moreLabel.textContent='Show all '+matched+' matches';moreBox.hidden=state.all||matched<=FIND_PAGE;}
else if(!filtered||empty){moreAction='all';moreLabel.textContent='Browse all '+ALL.length+' animations';moreBox.hidden=false;}
else if(list&&!state.all&&list.length>PAGE){moreAction='expand';moreLabel.textContent='Show all '+list.length;moreBox.hidden=false;}
diff --git a/tests/demo-page.test.js b/tests/demo-page.test.js
index 9bdce19f..ab7821d0 100644
--- a/tests/demo-page.test.js
+++ b/tests/demo-page.test.js
@@ -128,8 +128,8 @@ test('motionNote says what reduced motion changes in the player bar', () => {
// `copy` ({ prompt, controls, clipboard }) to add a Copy prompt button, text in the prompt, a Try it step holding `controls` (if
// any) and the window's clipboard; no other test gets any of them. A link test passes `links` ({ protocol, hrefs }): the page is
// served over that protocol (http: otherwise) and holds one link for each href.
-// `extra` ({ modes, noPrompt }): modes adds the mode switch (Normal, See inside, Compare) and one note for See inside and one
-// for Compare; noPrompt leaves the prompt out.
+// `extra` ({ modes, noPrompt, noStarRow }): modes adds the mode switch (Normal, See inside, Compare) and one note for See inside
+// and one for Compare; noPrompt leaves the prompt out; noStarRow leaves out the star row a page with Copy prompt has under it.
// A plays-once page also has Replay and a loop has Pause; `log` keeps, in order, every hb:mode sent and every press of Replay
// or Show me, and each hb:mode event carries `seen`: the stage's mark, the buttons' aria-pressed and the notes on show then.
function standInPage(kind, reduced, bodyAttributes, copy, links, extra) {
@@ -144,7 +144,9 @@ function standInPage(kind, reduced, bodyAttributes, copy, links, extra) {
hasAttribute(name) { return name in this.attrs; },
removeAttribute(name) { delete this.attrs[name]; },
appendChild(child) { this.children.push(child); return child; },
- insertAdjacentElement() {}, contains(other) { return other === this; }, click() { this.clicks++; if (this.onClick) this.onClick(); }
+ insertAdjacentElement() {}, contains(other) { return other === this; }, click() { this.clicks++; if (this.onClick) this.onClick(); },
+ // What the copy fallbacks touch: the off-screen text box and the button that takes focus back
+ style: {}, value: '', focus() {}, select() {}, setSelectionRange() {}, removeChild() {}
});
const stage = node(), player = node(), prompt = node(), demo = node(), play = node(), top = node(), replay = node();
// A loop's Pause button: the shared script looks for its label inside it
@@ -166,11 +168,14 @@ function standInPage(kind, reduced, bodyAttributes, copy, links, extra) {
const modes = opts.modes && Object.assign(node(), { querySelectorAll: selector => (selector === '[data-hb-mode]' ? modeButtons : []) });
// The button has no .hb-copy-label inside it, so its own text is the label.
const button = copy && Object.assign(node(), { querySelector: () => null });
+ // The star row under the prompt card keeps the class names it is given, in order.
+ const starRow = copy && Object.assign(node(), { classList: { names: [], add(name) { this.names.push(name); }, remove() {}, toggle() {} } });
if (copy) prompt.textContent = copy.prompt;
const wanted = { '.hb-prompt': !opts.noPrompt && prompt, '.stage': stage, '.hb-player': player, '[data-hb-demo]': kind === 'do' && demo,
'[data-hb-replay]': kind === 'once' && replay, '[data-hb-pause]': kind === 'loop' && pause,
'[data-hb-autoscroll]': kind === 'scroll' && play, '[data-hb-top]': kind === 'scroll' && top, '.hb-copy': button,
'.hb-try': copy && copy.controls && Object.assign(node(), { querySelectorAll: () => copy.controls }),
+ '.hb-star-row': !opts.noStarRow && starRow,
'[data-hb-modes]': modes };
const page = { querySelector: selector => wanted[selector] || null,
querySelectorAll: selector => (selector === '[data-hb-for]' ? notes : []) };
@@ -195,9 +200,12 @@ function standInPage(kind, reduced, bodyAttributes, copy, links, extra) {
clearTimeout() {}, location: { protocol: (links && links.protocol) || 'http:' }, console,
CustomEvent: class { constructor(type, init) { this.type = type; this.detail = init && init.detail; } }
};
- if (copy) Object.assign(win, { navigator: { clipboard: copy.clipboard }, getComputedStyle: () => ({ display: '' }) });
+ if (copy) Object.assign(win, { navigator: { clipboard: copy.clipboard, platform: 'Win32', userAgent: '' }, getComputedStyle: () => ({ display: '' }),
+ getSelection: () => ({ removeAllRanges() {}, addRange() {} }) });
+ // copy.exec: what the old copy command answers (true: it copied; false or left out: it did not), for the pages' fallback
+ if (copy) Object.assign(doc, { execCommand: () => !!copy.exec, createRange: () => ({ selectNodeContents() {} }) });
DP.boot(doc, win);
- return { doc, win, stage, player, demo, play, replay, pause, button, anchors, sent, log, modeButtons, notes,
+ return { doc, win, stage, player, demo, play, replay, pause, button, starRow, anchors, sent, log, modeButtons, notes,
runTimers: () => timers.forEach(t => t.fn()), timerDelays: () => timers.map(t => t.ms) };
}
const visitor = { isTrusted: true }, script = { isTrusted: false };
@@ -533,3 +541,38 @@ test("pressing a page's Copy prompt copies what pageCopyText gives", async () =>
assert.equal(page.button.textContent, 'Copied', name);
}
});
+
+// The star ask: the row under the prompt card is marked once the visitor has copied the prompt, the moment the page has helped.
+test('a copy that worked marks the star row, and nothing marks it before', async () => {
+ const accepted = Promise.resolve();
+ const page = standInPage('once', false, {}, { prompt: 'Add a fade to [the card].', controls: null, clipboard: { writeText: () => accepted } });
+ assert.deepEqual(page.starRow.classList.names, [], 'nothing is marked before a copy');
+ page.button.emit('click', visitor);
+ await accepted;
+ assert.ok(page.starRow.classList.names.length > 0 && page.starRow.classList.names.every(name => name === 'is-asked'), page.starRow.classList.names.join());
+});
+
+test('where the clipboard is missing, a copy through the text box marks the star row too', () => {
+ const page = standInPage('once', false, {}, { prompt: 'Add a fade to [the card].', controls: null, clipboard: undefined, exec: true });
+ page.button.emit('click', visitor);
+ assert.equal(page.button.textContent, 'Copied');
+ assert.ok(page.starRow.classList.names.includes('is-asked'));
+});
+
+test('a copy that did not work shows the keys to press and leaves the star row unmarked', async () => {
+ const refused = Promise.reject(new Error('not allowed'));
+ const page = standInPage('once', false, {}, { prompt: 'Add a fade to [the card].', controls: null, clipboard: { writeText: () => refused }, exec: false });
+ page.button.emit('click', visitor);
+ await refused.catch(() => {});
+ await Promise.resolve();
+ assert.equal(page.button.textContent, 'Press Ctrl+C to copy');
+ assert.deepEqual(page.starRow.classList.names, []);
+});
+
+test('a page with no star row still copies', async () => {
+ const accepted = Promise.resolve();
+ const page = standInPage('once', false, {}, { prompt: 'Add a fade to [the card].', controls: null, clipboard: { writeText: () => accepted } }, null, { noStarRow: true });
+ page.button.emit('click', visitor);
+ await accepted;
+ assert.equal(page.button.textContent, 'Copied');
+});
diff --git a/tests/finder.test.js b/tests/finder.test.js
index 148a5508..2193522a 100644
--- a/tests/finder.test.js
+++ b/tests/finder.test.js
@@ -48,7 +48,7 @@ const source = name => { const start = at(`function ${name}(`); return HOME.slic
// search tests build them), with FIND_Q, FIND and the finder's functions in one context. `data` adds to the context or replaces
// CATS, PLACES or FIND with test data.
function finder(data = {}) {
- const context = vm.createContext({ CATS: homeConst('CATS'), PLACES: homeConst('PLACES'), FIND_Q: homeConst('FIND_Q'), FIND: homeConst('FIND'), ...data });
+ const context = vm.createContext({ CATS: homeConst('CATS'), PLACES: homeConst('PLACES'), WORDS: homeConst('WORDS'), FIND_Q: homeConst('FIND_Q'), FIND: homeConst('FIND'), ...data });
vm.runInContext(HOME.slice(at('const PLACE_LIST=['), at('const BY_SLUG=')), context);
for (const name of ['findQuery', 'findWords', 'findScore', 'findMatches', 'findIssueURL']) vm.runInContext(source(name), context);
return context;
diff --git a/tests/pages.test.js b/tests/pages.test.js
index 87fca788..c312c1e0 100644
--- a/tests/pages.test.js
+++ b/tests/pages.test.js
@@ -1023,19 +1023,24 @@ test('a typed word loses its ending by the rule in the spec', () => {
const stem = homeFunction('stem');
// "ring", "string" and "spring" keep "ing" (what is left is too short or has no vowel) and "ss" keeps its s; after "ing" or
// "ed" a doubled last letter goes too while three letters stay, but not l, s, f or z ("scrolling", and "added" keeps three).
+ // A short word in "eed" keeps its "ed" ("speed" cut to "spe" would find "spectrum"); a longer one loses it as before, so
+ // "succeed" still finds "success".
const want = { ring: 'ring', string: 'string', spring: 'spring', uses: 'use', galleries: 'galler', press: 'press', glass: 'glass',
snapping: 'snap', blurred: 'blur', dragging: 'drag', scrolling: 'scroll', added: 'add', flipping: 'flip', tapping: 'tap',
- pinned: 'pin', clipping: 'clip', scrubbing: 'scrub', fades: 'fad', cards: 'card', boxes: 'box' };
+ pinned: 'pin', clipping: 'clip', scrubbing: 'scrub', fades: 'fad', cards: 'card', boxes: 'box',
+ speed: 'speed', need: 'need', agreed: 'agreed', speeds: 'speed', succeed: 'succe' };
assert.deepEqual(Object.fromEntries(Object.keys(want).map(word => [word, stem(word)])), want);
});
// The home page's search as the page runs it: the cards and their word lists built by the page's own code (from PLACE_LIST
-// up to BY_SLUG), then its search functions, in one context with the page's CATS, PLACES and SAME.
+// up to BY_SLUG), then its search functions, in one context with the page's CATS, PLACES, WORDS and SAME. `cards` is the page's
+// own list of cards (ALL), each with its word lists.
function homeSearch() {
const at = marker => { const i = HOME.indexOf(marker); assert.ok(i >= 0, `${marker} in index.html`); return i; };
- const context = vm.createContext({ CATS: homeConst('CATS'), PLACES: homeConst('PLACES'), SAME: homeConst('SAME') });
+ const context = vm.createContext({ CATS: homeConst('CATS'), PLACES: homeConst('PLACES'), WORDS: homeConst('WORDS'), SAME: homeConst('SAME') });
vm.runInContext(HOME.slice(at('const PLACE_LIST=['), at('const BY_SLUG=')), context);
- for (const name of ['stem', 'queryWords', 'score', 'search']) {
+ context.cards = vm.runInContext('ALL', context);
+ for (const name of ['stem', 'queryWords', 'score', 'search', 'askURL']) {
const start = at(`function ${name}(`);
vm.runInContext(HOME.slice(start, blockEnd(HOME.indexOf('{', start)) + 1), context);
}
@@ -1077,7 +1082,7 @@ test('a typed word also finds the cards that use another word of its group, afte
}
// Each word of every group, typed alone: the cards with the typed word itself come first, then the ones found through the group.
for (const text of homeConst('SAME').flat()) {
- const [word] = page.queryWords(text), has = e => [...e.nameW, ...e.placeW, ...e.descW].some(x => x.startsWith(word));
+ const [word] = page.queryWords(text), has = e => [...e.nameW, ...e.placeW, ...e.moreW, ...e.descW].some(x => x.startsWith(word));
const found = page.search(text), others = found.findIndex(e => !has(e));
assert.ok(others < 0 || found.slice(others).every(e => !has(e)), `"${text}": ${found.map(e => e.name + (has(e) ? '' : ' (group)')).join(', ')}`);
}
@@ -1086,6 +1091,113 @@ test('a typed word also finds the cards that use another word of its group, afte
}
});
+// WORDS: everyday words a visitor may type for a card that the card's own texts do not say (another name for the effect, the
+// part of a page it is, a common misspelling). They count 2, between a place name and the description.
+test('every extra search word belongs to a card, in home order, and says something the card does not say already', () => {
+ const words = homeConst('WORDS'), page = homeSearch();
+ const slugs = homeConst('CATS').flatMap(cat => cat.entries.map(entry => entry[0]));
+ for (const slug of Object.keys(words)) assert.ok(slugs.includes(slug), `${slug} is not a card`);
+ assert.deepEqual(Object.keys(words), slugs.filter(slug => slug in words), 'WORDS is in the same order as CATS');
+ const stop = new Set(vm.runInContext('[...STOP]', page));
+ for (const e of page.cards) {
+ const list = (words[e.slug] || '').split(' ').filter(Boolean);
+ assert.deepEqual([...e.moreW], list, `${e.slug}: the card's extra words are the ones in WORDS`);
+ if (e.slug in words) assert.ok(list.length, `${e.slug} has no words: leave it out`);
+ assert.equal(new Set(list).size, list.length, `${e.slug} names a word twice`);
+ for (const word of list) {
+ assert.match(word, /^[a-z0-9]+$/, `${e.slug}: "${word}" is one lowercase word`);
+ assert.ok(!stop.has(word), `${e.slug}: "${word}" is a word the search leaves out`);
+ const typed = page.stem(word);
+ assert.ok(![...e.nameW, ...e.placeW, ...e.descW].some(x => x.startsWith(typed)), `${e.slug}: "${word}" already finds this card`);
+ }
+ }
+});
+
+test('everyday words that no card says find the card a visitor means', () => {
+ const page = homeSearch(), names = text => page.search(text).map(e => e.name);
+ const first = { shine: 'Shimmer Effect', aos: 'Reveal on Scroll', sidebar: 'Drawer / Panel Slide', lightbox: 'Modal Expand',
+ snackbar: 'Toast Notification', alert: 'Toast Notification', mask: 'Clip-Path Reveal', thinking: 'Typing Indicator',
+ stepper: 'Progress Animation', filter: 'FLIP Technique', tabs: 'Segmented Control', accordian: 'Accordion Open/Close',
+ skelton: 'Skeleton Loader', countup: 'Counter Animation', kenburns: 'Ken Burns Effect', darkmode: 'Theme Toggle Morph',
+ offcanvas: 'Drawer / Panel Slide', colour: 'Scroll-Driven Background Color', 'shiny card': 'Holographic Card', hint: 'Tooltip Reveal' };
+ for (const [text, name] of Object.entries(first)) assert.equal(names(text)[0], name, `"${text}": ${names(text).slice(0, 5).join(', ')}`);
+ const among = { sparkle: ['Shimmer Effect', 'Holographic Card'], navbar: ['Hide-on-Scroll Header', 'Hamburger Menu Toggle', 'Scrollspy Navigation'],
+ carousel: ['3D Carousel', 'Snap Scrolling', 'Rotate Word Carousel'], gallery: ['3D Carousel', 'Horizontal Scroll'], grey: ['Skeleton Loader'] };
+ for (const [text, wanted] of Object.entries(among)) for (const name of wanted) assert.ok(names(text).includes(name), `"${text}" finds ${name}: ${names(text).join(', ')}`);
+ // A misspelled "parallax" finds the Parallax cards.
+ for (const text of ['paralax', 'parallex']) assert.match(names(text)[0] || '', /Parallax/, `"${text}": ${names(text).slice(0, 5).join(', ')}`);
+ // "speed" keeps its ending, so it does not find the Audio Visualizer's "spectrum".
+ assert.ok(!names('speed').includes('Audio Visualizer'), `"speed": ${names('speed').slice(0, 5).join(', ')}`);
+});
+
+// The handbook has no card for these yet, and an honest empty result offers Ask for it. When one of them gets its card, take it
+// out of this list.
+test('a word for something the handbook does not have finds nothing', () => {
+ const page = homeSearch();
+ for (const text of ['dock', 'chart', 'checkbox']) assert.equal(page.search(text).map(e => e.name).join(', '), '', `"${text}"`);
+});
+
+// A typed word finds a card's own words by their start ("scroll" finds "scrolling"). An extra word is another name, so it counts
+// only when all of it is typed, or all but its ending: otherwise "page" would find Page Curl's "pageturn" in every search for a
+// page transition, and "bar" the View Transitions API's "barba".
+test('an extra word counts only when all of it, or all but its ending, is typed', () => {
+ const page = homeSearch(), names = text => page.search(text).map(e => e.name);
+ for (const text of ['page transition', 'page transitions', 'transition between pages']) {
+ assert.equal(names(text)[0], 'View Transitions API', `"${text}": ${names(text).slice(0, 5).join(', ')}`);
+ }
+ for (const text of ['bar', 'progress bar', 'search bar', 'tab bar']) {
+ assert.ok(!names(text).includes('View Transitions API'), `"${text}" finds the View Transitions API: ${names(text).slice(0, 5).join(', ')}`);
+ }
+ assert.ok(!names('water').includes('Ink Spread Reveal'), `"water" is not "watercolor": ${names('water').slice(0, 5).join(', ')}`);
+ // The whole word, or the word without its ending, still finds its card.
+ for (const [text, name] of [['pageturn', 'Page Curl'], ['barba', 'View Transitions API'], ['tabs', 'Segmented Control'],
+ ['celebrating', 'Success Confetti'], ['snowflake', 'Snow / Rain'], ['watercolor', 'Ink Spread Reveal']]) {
+ assert.equal(names(text)[0], name, `"${text}": ${names(text).slice(0, 5).join(', ')}`);
+ }
+});
+
+// First results that an extra word must not take away from the card that has the typed word in its own name.
+test('the extra words leave these first results as they were', () => {
+ const page = homeSearch(), names = text => page.search(text).map(e => e.name);
+ const first = { succeed: 'Success Confetti', 'text highlight': 'Highlighter Sweep', 'lava lamp': 'Morphing Blob', drop: 'Ink Spread Reveal',
+ 'card flip': '3D Flip Card', 'image zoom': 'Zoom Into Image', 'button hover': 'Hover State Animation', stroke: 'Handwriting Draw' };
+ for (const [text, name] of Object.entries(first)) assert.equal(names(text)[0], name, `"${text}": ${names(text).slice(0, 5).join(', ')}`);
+});
+
+test('of two cards with the same score, the one that has more of the typed words comes first', () => {
+ const page = homeSearch(), names = text => page.search(text).map(e => e.name);
+ // Zoom Into Image has "zoom" and "scroll"; Parallax Scrolling says "scroll" three times and comes earlier on the home page.
+ assert.equal(names('zoom on scroll')[0], 'Zoom Into Image', names('zoom on scroll').slice(0, 5).join(', '));
+});
+
+test('Nothing matches offers Ask for it: a link to the GitHub form with the typed words filled in', () => {
+ const panel = between(HOME, '<div class="empty" id="empty" hidden>', '</div>');
+ assert.ok(panel.includes('<p class="empty-ask">Not in the handbook yet? <a class="pillbtn" id="empty-gh" href="https://github.com/matinmonshizadeh/animation-handbook/issues/new?template=animation_not_here.yml" target="_blank" rel="noopener">Ask for it on GitHub</a></p>'), panel);
+ const url = new URL(homeSearch().askURL('dock that grows & shrinks #1'));
+ assert.equal(url.origin + url.pathname, 'https://github.com/matinmonshizadeh/animation-handbook/issues/new');
+ assert.deepEqual([...url.searchParams.keys()], ['template', 'title', 'answers']);
+ assert.equal(url.searchParams.get('template'), 'animation_not_here.yml');
+ assert.equal(url.searchParams.get('title'), '[not here] dock that grows & shrinks #1');
+ assert.equal(url.searchParams.get('answers'), 'Searched for “dock that grows & shrinks #1” — https://matinmonshizadeh.github.io/animation-handbook/?q=dock%20that%20grows%20%26%20shrinks%20%231');
+ // Only fields the form has are filled.
+ const form = read(path.join(ROOT, '.github', 'ISSUE_TEMPLATE', 'animation_not_here.yml'));
+ assert.match(form, /^\s+id: answers\r?$/m);
+});
+
+test('the star ask: a marked star row turns its button gold and pulses it once, with transform only and only where motion is welcome', () => {
+ const bare = read(path.join(ROOT, 'assets', 'css', 'demo-page.css')).replace(/\/\*[\s\S]*?\*\//g, '');
+ const body = selector => cssRules(bare).filter(r => r.selector === selector).map(r => r.body).join(';');
+ assert.match(body('.hb-star-row.is-asked .hb-star-btn'), /(^|;)\s*border-color:\s*#f2c14e/, 'a gold edge');
+ assert.match(body('.hb-star-row.is-asked .hb-star-btn .hb-ic'), /(^|;)\s*fill:\s*#f2c14e/, 'a gold star');
+ const welcome = cssRules(blockOf(bare, '@media(prefers-reduced-motion:no-preference){'));
+ const pulse = welcome.filter(r => r.selector === '.hb-star-row.is-asked .hb-star-btn' && /animation/.test(r.body));
+ assert.equal(pulse.length, 1, 'the pulse is declared where motion is welcome');
+ assert.match(pulse[0].body, /^\s*animation:\s*hb-ask\s+[\d.]+s\s+[\w-]+(\s+1)?\s*;?\s*$/, `it runs once: ${pulse[0].body}`);
+ assert.equal(cssRules(bare).filter(r => r.selector.includes('.is-asked') && /animation/.test(r.body)).length, 1, 'nothing else animates a marked row');
+ const frames = cssRules(blockOf(bare, '@keyframes hb-ask{'));
+ assert.ok(frames.length > 1 && frames.every(f => /^\s*transform:[^;]*;?\s*$/.test(f.body)), 'the pulse moves with transform only');
+});
+
test('the home page head gives search engines and social sites one title, one description and the author', () => {
const head = between(HOME, '<head>', '</head>');
const meta = attr => { const m = head.match(new RegExp(`<meta ${attr} content="([^"]*)">`)); return m && decode(m[1]); };
diff --git a/tools/check-pages.mjs b/tools/check-pages.mjs
index 542f7915..b7793093 100644
--- a/tools/check-pages.mjs
+++ b/tools/check-pages.mjs
@@ -1259,6 +1259,9 @@ async function homeViewProblems() {
await sleep(300);
const empty = await evaluate(`!document.getElementById('empty').hidden && document.getElementById('empty-title').textContent`);
if (empty !== 'Nothing matches “zebra” yet') problems.push(`nothing found: ${empty}`);
+ // Ask for it: the link under the suggestions opens the GitHub form in a new tab with the typed words filled in.
+ const ask = await evaluate(`(() => { const a = document.getElementById('empty-gh'); return a && { href: a.href, want: askURL('zebra'), target: a.target, shown: a.getClientRects().length > 0 }; })()`);
+ if (!ask || !ask.shown || ask.href !== ask.want || ask.target !== '_blank') problems.push(`nothing found, Ask for it: ${JSON.stringify(ask)}`);
await press('#empty [data-q]');
await sleep(300);
v = await view();