
N° 0975 · scroll
Offset Anchor Scroll with Flash is a scroll effect. It responds to click, scroll and focus. Palettes: Bisque ash, Celadon, Tenmoku, Cobalt night and Shino.
On click the script measures the sticky header at that moment (data-anchor-header, else whatever is pinned at the top of the viewport), scrolls to the target's top minus that height minus 16 px, waits for scrollend, then adds a class whose keyframe fades an amber background once and removes itself on animationend. Focus moves to the target with preventScroll, and the hash is pushed so Back works.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0975 · scroll

N° 0974 · scroll

N° 0795 · scroll

N° 0793 · scroll

N° 0792 · scroll

N° 0791 · scroll

N° 0790 · scroll

N° 0789 · scroll

N° 1018 · dot-grid world map with pulsing city pings

N° 0990 · hero

N° 0785 · listings

N° 0861 · bricks laying themselves course by course then clearing

N° 0859 · abacus rods with beads sliding to random numbers

N° 0756 · integrations

N° 0763 · blog

N° 0742 · forms