text-decoration属性用于设置或移除文本的装饰效果,如下划线、上划线、删除线等。
常见的取值有:
none:默认值,没有装饰效果underline:添加下划线overline:添加上划线line-through:添加删除线blink:使文本闪烁(不被所有浏览器支持)text-decoration还可以与其他属性组合使用,如text-decoration-color、text-decoration-style等,以进一步定义装饰效果的颜色和样式。
text-decoration属性用于设置或移除文本的装饰效果,如下划线、上划线、删除线等。
常见的取值有:
none:默认值,没有装饰效果underline:添加下划线overline:添加上划线line-through:添加删除线blink:使文本闪烁(不被所有浏览器支持)text-decoration还可以与其他属性组合使用,如text-decoration-color、text-decoration-style等,以进一步定义装饰效果的颜色和样式。