指南 / 字体排印

字阶系统

按固定比例(如 1.25)生成的一套字号:12/14/16/20/24/32,标题正文一眼分出层级。

在线演示

12 · 说明文字
14 · 小号文字
16 · 正文
20 · h4 小标题
24 · h3 中标题
32 · h2 大标题
1.25 模块化比例

实现提示词

标准

Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px. Do not use arbitrary font sizes.

含动效

Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px. Add a subtle fade-in stagger when headings enter the viewport.
设计规范条目
### Type Scale (#type-scale)

Category: Typography

A set of font sizes generated by a fixed ratio (e.g. 1.25): 12/14/16/20/24/32 — clear hierarchy at a glance.

- Do: Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px

- Avoid: Do not use arbitrary font sizes

With motion: Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px. Add a subtle fade-in stagger when headings enter the viewport.

Live demo: https://uidesignmd.com/guides/type-scale/

规范包

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

已选指南 0 / 20