标题换行
多行标题用 text-wrap: balance,两行长度尽量均等,别一行长一行短一个词。
这是一个会换行并留下
一个孤词的超长标题
一个孤词的超长标题
这是一个两行均衡的超长标题
上:普通换行 · 下:均衡换行
实现提示词
Apply text-wrap: balance to headings so multi-line titles wrap into evenly balanced lines.Apply text-wrap: balance to headings with a smooth fade-in on line reflow.设计规范条目
### Balanced Headlines (#text-balance) Category: Typography Use text-wrap: balance on multi-line headings so wrapped lines are roughly equal — no orphan words. - Do: Apply text-wrap: balance to headings so multi-line titles wrap into evenly balanced lines - Avoid: no orphan words With motion: Apply text-wrap: balance to headings with a smooth fade-in on line reflow. Live demo: https://uidesignmd.com/guides/text-balance/