Scroll Zoom-Out (Camera Pull-Back) new 滚动缩放拉远 web

Room to imagine

Make something you can step back from.

Scroll
Scroll progressscene 1.60× · frame 100%

标本可交互,可以直接操作。

Anatomy — every part, named解剖 —— 每个部件的名字

  1. 1 Pinned stage固定舞台 position: sticky

    The scene stays fixed while a tall track scrolls behind it.

    长轨道在后面滚动时,画面保持固定。

    Prompt fragmentPrompt 片段

    a sticky full-viewport stage inside a 300% tall track

    300% 高的轨道里放一个 sticky 满屏舞台

  2. 2 Scale-down缩小 transform: scale()

    The scene shrinks from about 1.6x to 1x with scroll progress.

    画面随滚动进度从约 1.6 倍缩到 1 倍。

    Prompt fragmentPrompt 片段

    the scene scaling from 1.6 to 1 as scroll progress goes from 0 to 1

    滚动进度 0→1 时画面从 1.6 倍缩到 1 倍

  3. 3 Frame shrink画框缩小 transform: scale() / clip-path

    The full-bleed frame shrinks into a rounded card that still holds the whole picture.

    满屏画框最后缩成一张圆角卡片,完整画面都留在里面。

    Prompt fragmentPrompt 片段

    the frame shrinking from full-bleed to a 16px rounded card

    画框从满屏缩成 16px 圆角卡片

  4. 4 Late headline延后出现的标题 opacity

    The headline fades in only once the pull-back is nearly done.

    拉远快结束时标题才淡入。

    Prompt fragmentPrompt 片段

    a headline that fades in during the last 30% of the scroll

    标题在滚动的最后 30% 淡入

Prompt — paste into your agentPrompt —— 直接粘贴给你的代理

Build a scroll zoom-out hero: a tall scroll track with a sticky full-viewport stage; map scroll progress 0→1 to the scene scaling from about 1.6 to 1 and the whole frame shrinking from full-bleed to a rounded card (transform: scale on the frame, or clip-path: inset(... round 16px)); eased, with the headline fading in only in the last 30%. Scrub directly with scroll (no time-based animation), keep it reversible, and under prefers-reduced-motion show the final framed state.

做一个滚动缩放拉远的首屏:一段很高的滚动轨道,里面放一个 sticky 的满屏舞台;把滚动进度 0→1 映射为画面从约 1.6 倍缩到 1 倍,同时整个画框从满屏缩成圆角卡片(对画框用 transform: scale,或 clip-path: inset(... round 16px)),加缓动;标题只在最后 30% 淡入。直接跟随滚动(不要按时间播放),可以反向,prefers-reduced-motion 时直接显示最终的卡片状态。

Debug prompt — when it misbehaves调试 Prompt —— 当它不听话时

Debug my scroll zoom-out. Check that the stage stays pinned for the whole track; progress is computed from the right scroll container; the scene zoom and the frame shrink are both driven by the same progress value so they stay in sync; the transform-origin keeps the subject in frame; the headline appears only near the end; scrolling back up reverses exactly; there is no jank from animating layout properties instead of transform/clip-path; and prefers-reduced-motion skips to the final state. The symptom:

调试我的滚动缩放拉远。检查:舞台在整段轨道里是否一直固定;进度是否从正确的滚动容器算出;画面缩放和画框缩小是否由同一个进度值驱动、保持同步;transform-origin 是否让主体始终在画面里;标题是否只在接近结束时出现;往回滚是否完全还原;是否误用了布局属性做动画导致卡顿(应只用 transform / clip-path);以及 prefers-reduced-motion 是否直接跳到最终状态。症状是:

In code代码里叫什么

Framework框架Symbol符号Note说明
CSS animation-timeline: scroll() / view() native scroll-driven animation in supporting browsers支持的浏览器里原生的滚动驱动动画
CSS position: sticky pin the stage while the tall track scrolls past长滚动轨道经过时把舞台固定住
CSS transform: scale() / clip-path: inset() zoom the scene back to 1x while the frame shrinks into a rounded card画面缩回 1 倍的同时,画框缩成圆角卡片
GSAP ScrollTrigger (pin + scrub) the common library route: pin the hero and scrub the timeline with scroll常用的库做法:固定首屏,用滚动拖动时间轴

See also相关词条

我的参考集

组合知名网站、UI 元素、视觉风格和平面设计案例,导出给 AI。

你的下一份设计,从这里开始。

在任意案例旁点击「加入参考」,就能把品牌、组件、风格和平面设计案例组合成一份 AI 设计说明。

搜索参考库Search the library

输入关键词,搜索所有参考。