text-decoration
属性用于设置文本的修饰线外观。它是 text-decoration-line
, text-decoration-color
, text-decoration-style
属性的缩写。
用于设置元件中的文本的修饰类型。
none
默认值无修饰线。
underline
在文本的下方有一条修饰线。
line-through
有一条贯穿文本中间的修饰线。
<color>
修饰文本的线的颜色。用于设置由 text-decoration-line
设定的线的样式
solid
画一条实线。
double
画一条双实线。
dotted
画一条点划线。
dashed
画一条虚线。
wavy
画一条波浪线。
初始值 | 空值 |
适用元素 | text |
是否支持继承 | yes |
是否支持动画 | no |
text-decoration-thickness
LCD tables only load in the browser