特效 · 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.
適合你嗎?
適合
- 每兩秒往左移一步的寬幅圖片面板
- 有一組風格一致拍攝的飯店、農場或旅遊品牌
- 不需操作就會持續移動的圖庫
不適合
- 沒有同一組橫幅照片的網站
- 需要停下來細看每張圖的訪客













