line-height
介绍
line-height 属性用于设置多行文本的间距。
使用示例

语法
取值
形式定义
| 初始值 | normal |
| 适用元素 | text |
| 是否支持继承 | yes |
| 是否支持动画 | no |
形式语法
与 Web 的区别
line-height属性只影响<text>元件,设置在其他标签上不会生效。
注意事项
-
line-height的值最好大于font-size的值,否则文本上下可能会被截断。 -
line-height属于段落属性,不会作用于 inline text 上。
兼容性
LCD tables only load in the browser