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.

docs: say what else moves besides the bars in the Hamburger Menu Toggle README

matin43a3a2ed32b1
diff --git a/animations/04-micro-interactions/hamburger-menu-toggle/README.md b/animations/04-micro-interactions/hamburger-menu-toggle/README.md
index 3f8d2e75..f42d0748 100644
--- a/animations/04-micro-interactions/hamburger-menu-toggle/README.md
+++ b/animations/04-micro-interactions/hamburger-menu-toggle/README.md
@@ -15,8 +15,10 @@ has opened without swapping to a different icon.
The bars are three absolutely positioned spans stacked inside a fixed-height
box. Toggling `aria-expanded` on the button flips the styling: the outer bars
translate to the vertical center and rotate ±45°, and the middle bar drops its
-opacity. Because only `transform` and `opacity` change, the morph stays on the
-compositor.
+opacity. Because the bars change only `transform` and `opacity`, the morph stays
+on the compositor; around it, the button's border turns orange with a color
+transition, and the menu opens with `opacity` and `transform` (plus
+`visibility`, so a closed menu is out of reach).
```css
.bar{transition:transform var(--dur) var(--ease),opacity calc(var(--dur)*.6) var(--ease)}
diff --git a/docs/superpowers/plans/2026-09-29-micro-content-part2.md b/docs/superpowers/plans/2026-09-29-micro-content-part2.md
index 8e84119c..ed8bf16e 100644
--- a/docs/superpowers/plans/2026-09-29-micro-content-part2.md
+++ b/docs/superpowers/plans/2026-09-29-micro-content-part2.md
@@ -736,8 +736,10 @@ None: leave out the `details.hb-options` block.
.burger[aria-expanded="true"] .bar.bot{transform:translateY(calc(var(--bar-h)/2 - 18px)) rotate(-45deg)}
```
- The prose stays.
+ The prose stays, except the last sentence of the first paragraph (final fix wave, below).
- **README Production notes:** unchanged
+- **Final fix wave (after the category review):**
+ - README How it works: "Because only `transform` and `opacity` change, the morph stays on the compositor" was true of the bars only; the button's border color and the menu's visibility change too. The sentence now says the bars change only `transform` and `opacity`, so the morph stays on the compositor, and that around it the button's border turns orange with a color transition and the menu opens with `opacity` and `transform` (plus `visibility`, so a closed menu is out of reach). The page is unchanged.
- **Category line:** `04.23 · Micro-Interactions`
- **Pager:** Previous: Swipe to Dismiss (`../swipe-to-dismiss/`) · Next: Theme Toggle Morph (`../theme-toggle-morph/`)