LAYOUT
全出血区块Full-bleed Section
一块横贯整个视口宽度的色带区,内部的窄容器居中——用颜色宽度制造呼吸与节奏。
中英对照
- 中文
- 全出血区块
- 英文
- Full-bleed Section
- 别名
- 满宽区块、Edge-to-edge Section、色带区块
- 一句话
- 一块横贯整个视口宽度的色带区,内部的窄容器居中——用颜色宽度制造呼吸与节奏。
效果预览
2.4M每月生成的文档
98%续费率
40+支持的语言
适合用在哪
数据统计带、大标语区、CTA 区;在浅色页面中制造视觉停顿。
不适合:已经很花的深色长页里再叠一条满宽色带:节奏会「一直紧」;小模块内部(卡片、弹窗)也不要 100vw,会撑出横向滚动条。
和相近模式的区别
全出血英雄区Full-bleed Hero
全出血英雄区是首屏沉浸(常 80–100vh + 背景图);全出血区块是页面中段的满宽色带,高度由内容决定,用来做数据带或 CTA 停顿。
数据里程碑带Stat Band
统计带是社会证明内容模式;全出血是布局手段——统计带常常落在全出血区块里,但全出血也可以只放一句标语或 CTA。
容易踩的坑
- 100vw 在 Windows 等有常驻滚动条的系统上多出约 15px,产生横向滚动条。
- 数字间的 1px 竖线在移动端换行后仍存在,变成悬空的竖条。
- 一页连续放 3 条以上深色色带,节奏感变成压迫感,反而失去停顿作用。
设计提示词 · Prompt
全出血区块(Full-bleed Section):外层 width:100vw 铺满视口(配 margin-left:calc(50% - 50vw) 逃出父容器),内层 max-width:1200px 居中。背景用深色渐变或品牌色实色,内部文字反白。典型用法是"数据统计带":一行 3-4 组超大数字(48-72px、tabular-nums)+ 小标签,数字之间用 1px 竖线分隔。区块上下留白 96-128px,在长页面中像一条粗重的分隔线,让节奏骤然一紧。
Full-bleed Section: the outer layer uses width:100vw to fill the viewport (with margin-left:calc(50% - 50vw) to escape the parent container), and the inner layer is max-width:1200px centered. The background uses a dark gradient or solid brand color, with reversed (white) text inside. The typical use is a "stat band": a row of 3-4 groups of oversized numbers (48-72px, tabular-nums) + small labels, with numbers separated by 1px vertical lines. 96-128px of whitespace above and below the block; in a long page it acts like a thick divider, suddenly tightening the rhythm.
可复制 CSS
自包含的最小实现,粘贴到空白页面即可生效;类名可以按项目规范改名。
/* 逃出居中容器,铺满视口宽 */
.fullbleed {
width: 100vw;
margin-left: calc(50% - 50vw);
padding: 112px 24px;
background: linear-gradient(135deg, #0f172a, #312e81);
color: #fff;
}
.fullbleed__inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 28px 40px;
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.fullbleed__stat b {
display: block;
font: 750 56px/1 system-ui, sans-serif;
font-variant-numeric: tabular-nums;
letter-spacing: -.03em;
}
.fullbleed__stat span {
display: block;
margin-top: 8px;
font: 14px/1.4 system-ui, sans-serif;
opacity: .78;
}
.fullbleed__rule {
width: 1px;
height: 48px;
background: rgba(255, 255, 255, .28);
}
@media (max-width: 767px) {
.fullbleed { padding: 72px 20px; }
.fullbleed__stat b { font-size: 40px; }
.fullbleed__rule { display: none; }
}
演示 HTML 结构
<div class="s s--abs d-fbs">
<div class="d-fbs__strip">
<b>2.4M</b><i></i><span>每月生成的文档</span>
<b>98%</b><i></i><span>续费率</span>
<b>40+</b><i></i><span>支持的语言</span>
</div>
<div class="d-fbs__body">
<span style="height:7px;width:86%;border-radius:99px;background:var(--i-bg3)"></span>
<span style="height:7px;width:72%;border-radius:99px;background:var(--i-bg3)"></span>
</div>
</div>
无障碍要点
- 白字与渐变最亮处对比度 ≥4.5:1;分隔竖线在小屏可隐藏,避免被读成无意义图形。
- 数字用 tabular-nums,避免滚动或更新时抖动。
常见问题
全出血区块的英文是什么?
全出血区块的英文是 Full-bleed Section。常见英文别名还包括 Edge-to-edge Section。
Full-bleed Section 的中文是什么?
Full-bleed Section 的中文是「全出血区块」。常见中文别名还包括 满宽区块、色带区块。一块横贯整个视口宽度的色带区,内部的窄容器居中——用颜色宽度制造呼吸与节奏。
margin-left: calc(50% - 50vw) 会不会出横向滚动条?
父级若有 overflow-x 限制或 body 有默认边距叠加,可能出现。确保 html/body 无意外横向溢出,或改用 grid 全宽分区,而不是在已有 padding 的卡片里套 100vw。
上下留白为什么要那么大?
全出血的价值是「骤然一紧」的节奏。上下 96–128px(示例 112px)让色带像一条粗分隔;留白过小会像普通深色 section,冲击力掉一半。
常见搭配
同一页面里经常和「全出血区块」一起出现的模式,可以收藏后用「组合收藏为整页提示词」一起交给 AI。