字体大小
定义
使用 text-* 工具类控制元素的字体大小。
| 工具类 | CSS 属性 |
|---|---|
| text-root | font-size |
| text-sm | font-size |
| text-base | font-size |
| text-md | font-size |
| text-lg | font-size |
| text-xl | font-size |
| text-2xl | font-size |
| text-3xl | font-size |
| text-4xl | font-size |
示例
text-root 字体大小
text-xs 字体大小
text-sm 字体大小
text-base 字体大小
text-md 字体大小
text-lg 字体大小
text-xl 字体大小
text-2xl 字体大小
text-3xl 字体大小
text-4xl 字体大小