Efectos · All You Need Is Taste · anteayer
An Effect (mount → destroy): a section title over a wide panel with 12 px corners whose height is 35 % of its width (56 % below 560 px), holding four landscape pictures in a row that grows from left to right, each laid over the one before.
With u = panel height ÷ 35 the four slots are 23 × 17, 31 × 23, 39 × 29 and 47 × 35 u, all centred on the panel's middle line; slot 1 sits at the left edge, slots 2–4 have their left edge at panel width − 82 u, − 66.5 u and − 47 u (flush right), so each card's centre sits on the next card's left edge and is half covered by it. Every 2000 ms while the panel is seen (IntersectionObserver at threshold 0, paused while the page is hidden; the first step 2 s after it arrives, no reveal) the row steps left in 800 ms on cubic-bezier(0.77, 0, 0.175, 1): cards 2–4 move and resize into the slot to their left on one eased progress; card 1 stays beneath them, shrinks about its centre from 1 to 0.5 and drifts 20 px right, then is removed; a new card enters slot 4 on top from 100 % of its own width to the right, clipped by the panel, its picture settling from 1.5× to 1×. A ring of at least six pictures (slots + 2), repeated when fewer, so the one entering is never on show. From Fennicks the flower butchers: the last six Tuesdays.
¿Es para ti?
Ideal para
- Un panel ancho de imágenes que avanzan a la izquierda cada dos segundos
- Un hotel, una granja o una marca de viajes con una sesión de fotos coherente
- Una galería que debe seguir moviéndose sin que nadie haga nada
No para
- Un sitio sin imágenes horizontales de una misma sesión
- Visitantes que necesitan pararse a estudiar cada imagen













