指南 / 动效

视差滚动

前后景以不同速度滚动,制造景深,游戏背景、落地页 hero 的常用手法。

在线演示

前景

实现提示词

标准

Parallax hero: the background scrolls at half the speed of the foreground.

含动效

Parallax with lerped (smoothed) scroll tracking and layered speeds for depth.
设计规范条目
### Parallax (#parallax)

Category: Motion

Parallax scrolls foreground and background at different speeds—creates depth, common in game backdrops and landing heroes.

- Do: Parallax hero: the background scrolls at half the speed of the foreground

With motion: Parallax with lerped (smoothed) scroll tracking and layered speeds for depth.

Live demo: https://uidesignmd.com/guides/parallax/

规范包

从所选指南中导出实现规则和链接。

已选指南 0 / 20