Efecte · All You Need Is Taste · alaltăieri
An Effect (mount → destroy): a navigation in two bodies handed over at one line.
At the top a wide, open bar with no box of its own, 64 px tall, in the page's flow: a wordmark with a small tag 8 px after it (13 px, a 20 px rounded chip), the links 24 px after the name group (16 px, 40 px boxes with 16 px side padding, touching; one link carries an extra little pill, 22 px, 1 px edge, radius 6) and the call to action at the far right. It scrolls away with the page. Once the scroll is strictly past the bottom of the opening section (position, not direction; measured again on every scroll event, no tolerance, no debounce), a compact pill drops in: fixed 8 px from the top, centred, as wide as its parts, 64 px tall, radius 16, 24 px side padding, fill at 80 % with an 8 px backdrop blur, a 1 px edge at 10 %, shadow 0 2px 16px rgba(0,0,0,.04). In it the wordmark becomes a glowing glyph in a 24 px slot (four drop shadows in the glow colour: 4 px α .24, 4 px α .1, 8 px α .5, 4 px α 1), the first link 32 px after it, the tag and the extra pill left out, the call to action straight after the last link. It moves as one: translate Y −100 % → 0 and opacity 0 → 1 together, 300 ms cubic-bezier(0.4, 0, 0.2, 1); back at or above the line it lifts away the same way, and a change mid-way turns round from where it is. While hidden it is inert and aria-hidden. Below 1024 px the links are hidden in both bodies; below 768 px the pill spans the width 8 px from each side with 16 px padding. Worn by Came & Quarry (glaziers: an amber diamond in a lead-grey pill), Quartermark (dance company: a taped vermilion cross in a marley pill) and Pellow's Wharf (narrowboat hire: a lamp-lit tiller in a Brunswick-green pill).
Este pentru tine?
Potrivit pentru
- Un header de site care trebuie să se dea la o parte după ce hero-ul a fost citit
- Un mic studio sau magazin ale cărui linkuri încap într-un rând strâns
- O pagină lungă în care apelul la acțiune rămâne la o mână distanță
Nu pentru
- Un meniu cu multe linkuri sau dropdown-uri imbricate
- O pagină fără o secțiune de deschidere clară la care să predea













