Effetti · All You Need Is Taste · l’altro ieri
An Effect (mount → destroy): a reading-position rail for a long page.
A 40 px frosted pill sits 32 px from the right edge, vertically centred, holding one 5 px dash per chapter, 6 px apart, 8 px of padding above and below (pill height = stack + 20 px: 130 px for five chapters, radius 12, ground at 45 % with a 16 px backdrop blur). Resting dashes are 10 px long in the ink at 63 %; the current chapter's dash is 30 px and a fill in full ink grows down it, scaleY = p on a spring (stiffness 220, damping 28, mass 1), where p = clamp((scrollTop − chapterTop) / chapterHeight, 0, 1). The current chapter is the first whose p is strictly between 0 and 1, else the last finished one, else the first. A change shortens the old dash 30 → 10 and lengthens the new 10 → 30 over 300 ms cubic-bezier(0.4, 0, 0.2, 1), the others sliding to keep the gaps. While the opening crosses the band 4–6 % from the top of the view the pill waits off the edge (translateX 200 % of its width) and springs in (300 / 25 / 0.9) once it leaves. Under a fine pointer it swells to 1.05. A press opens it in place, right edge and centre fixed, on the same spring (overshooting about 2 %) into a contents card 344 + 20 px wide, ground at 90 %: the stack fades out over 300 ms cubic-bezier(0.25, 0.1, 0.35, 1), the card's words fade in after 200 ms, a 40 px header (the heading and a close cross), then one row per chapter — 8 px padding, radius 11, a 3:2 picture that asks for 160 px and gives way to the words (about 104 × 69), 12 px gap, title over a 63 % subtitle — each sliding in from 10 px right, the first at 200 ms, then 100 ms apart. A row glides to its chapter; the cross, a press outside or Escape closes (the content fades at once while the box springs back). Narrower than 640 px nothing is shown. Worn by Brindle & Hosk (ironmongers, "On the board"), Twenty Miles (a lighthouse lens museum, "Floor plan") and Wendle's Travelling Still ("On the bill").
Fa per te?
Ideale per
- Un lungo articolo o un case study diviso in pochi capitoli
- Una pagina editoriale che vuole un indice senza barra laterale
- Lettori a cui piace vedere a che punto sono
Non per
- I telefoni, dove sotto i 640 px non compare niente
- Pagine brevi con una o due sezioni













