示例工程 06-text-typography

06-text-typography/demo-02-line-height/README.md

markdown · 0.3 KB

运行:行高与行宽

点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。

# demo-02-line-height

行高 1.2、行高 1.75 + 68ch、行高 1.75 + 100% 三种组合。

## 运行

直接打开 `index.html`。

## 观察

- 1.2 行高让多行文字挤在一起
- 68ch 限制行宽,回行更舒服
- 100% 行宽在宽屏上太长,容易跳行