特效 · All You Need Is Taste · 前天
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.
适合你吗?
适合
- 每两秒向左步进一格的宽幅图片面板
- 有一组风格统一拍摄的酒店、农场或旅行品牌
- 无需操作就持续运动的图库
不适合
- 没有同一次拍摄的横幅图片的网站
- 需要停下来细看每张图片的访客













