BACKGROUND & DECOR
径向聚光背景Radial Spotlight
一束从顶部打下来的椭圆光,中心亮四周暗——产品发布页的舞台感。
中英对照
- 中文
- 径向聚光背景
- 英文
- Radial Spotlight
- 别名
- 聚光灯背景、舞台光、Spotlight BG
- 一句话
- 一束从顶部打下来的椭圆光,中心亮四周暗——产品发布页的舞台感。
效果预览
一束顶光打下来
radial-gradient at 50% 0%
适合用在哪
产品发布页、定价页顶部、深色 Hero。
不适合:需要多焦点、多卡片平铺的页面:顶光会强迫视线居中;浅色内容站也不适合大面积近黑底。
和相近模式的区别
极光光斑背景Aurora Glow Background
极光多斑漂移;径向聚光是单束顶灯,戏剧性更强,一页一次足够。
全出血英雄区Full-bleed Hero
全出血英雄可叠摄影;聚光背景是纯 CSS 舞台光,常给发布/定价顶区用。
容易踩的坑
- 亮部与暗部过渡短于 40% 半径,会出现明显光圈边缘和色带。
- 光斑跟随鼠标时直接改 background 会每帧重绘,应改 CSS 变量配合合成层。
- 光斑中心偏离标题位置,导致白色标题落在暗部之外的区域难以聚焦。
设计提示词 · Prompt
径向聚光背景(Radial Spotlight):background:radial-gradient(60% 50% at 50% 0-20%, 亮色 0%, 深色 60-70%)——光源在顶部中央,像舞台顶灯。亮部用品牌深色(靛蓝 #312E81),暗部接近纯黑(#0B0B12),过渡要长而柔。内容(标题、产品图)放在光斑中心。进阶:光斑跟随鼠标移动(用 CSS 变量 + mousemove),或做成随滚动的"开灯"动画。这个背景自带戏剧性,一页一次足够。
Radial Spotlight: background: radial-gradient(60% 50% at 50% 0-20%, light color 0%, dark color 60-70%) — the light source sits at the top center, like a stage spotlight. Use a deep brand color for the lit area (indigo #312E81) and near-black for the dark area (#0B0B12), with a long, soft transition. Place content (headline, product image) at the center of the light. Advanced: make the spotlight follow the mouse (CSS variables + mousemove), or turn it into a scroll-driven "lights on" animation. This background is inherently dramatic — once per page is enough.
可复制 CSS
自包含的最小实现,粘贴到空白页面即可生效;类名可以按项目规范改名。
/* 顶光椭圆;中心放内容 */
.spot-bg {
min-height: 280px;
display: grid;
place-items: center;
text-align: center;
color: #fff;
background: radial-gradient(60% 50% at 50% 0%, #312e81 0%, #0b0b12 68%);
font: 650 18px/1.3 system-ui, sans-serif;
}
.spot-bg span {
display: block;
margin-top: 8px;
font: 13px/1.4 system-ui, sans-serif;
opacity: .7;
}
演示 HTML 结构
<div class="s s--abs d-spotbg"> <b>一束顶光打下来</b> <span>radial-gradient at 50% 0%</span> </div>
常见问题
径向聚光背景的英文是什么?
径向聚光背景的英文是 Radial Spotlight。常见英文别名还包括 Spotlight BG。
Radial Spotlight 的中文是什么?
Radial Spotlight 的中文是「径向聚光背景」。常见中文别名还包括 聚光灯背景、舞台光。一束从顶部打下来的椭圆光,中心亮四周暗——产品发布页的舞台感。
亮部暗部怎么取色?
亮部用品牌深色(示例靛 #312E81),暗部近纯黑 #0B0B12,过渡拉到 60–70% 处,柔、长、不生硬。
可以跟鼠标走吗?
可以:用 CSS 变量改 radial-gradient 的 at 位置。记得减弱动态时锁回顶部中央。
常见搭配
同一页面里经常和「径向聚光背景」一起出现的模式,可以收藏后用「组合收藏为整页提示词」一起交给 AI。
所属设计风格
「径向聚光背景」是这些整体设计风格的常见组成部分,在设计风格词典里可以看到整页效果。