聚光灯
页面其余部分变暗,只有光标周围一圈被照亮,适合把用户注意力引到某个区域,氛围感神器。
移动聚光灯
实现提示词
Spotlight effect: dark overlay with a 200px radial light following the cursor, revealing content underneath.Cursor-tracked spotlight (220px radius, soft edge) over a dimmed section; light eases toward the pointer.设计规范条目
### Spotlight (#spotlight) Category: Motion Spotlight: the page dims except a circle around the cursor. Directs attention exactly where you want—pure atmosphere. - Do: Spotlight effect: dark overlay with a 200px radial light following the cursor, revealing content underneath With motion: Cursor-tracked spotlight (220px radius, soft edge) over a dimmed section; light eases toward the pointer. Live demo: https://uidesignmd.com/guides/spotlight/