CSS文本装饰:text-decoration-line

text-decoration-line简介
text-decoration-line属性在CSS文本装饰中是比较常用的,本文将带你深入理解text-decoration-line属性的各个方面,包括它的语法、取值、作用和浏览器兼容性,最后附上text-decoration-line的实例,希望能够对你有所帮助。
text-decoration-line定义和用法

text-decoration-line:none | [ underline || overline || line-through || blink ]

默认值none

适用于:所有元素

继承性:无

动画性:否

计算值:指定的值

text-decoration-line属性值
none:
指定文字无装饰
underline:
指定文字的装饰是下划线
overline:
指定文字的装饰是上划线
line-through:
指定文字的装饰是贯穿线
blink:
指定文字的装饰是闪烁。
text-decoration-line说明
检索或设置对象中的文本装饰线条的位置。
  • 相当于CSS2.1的 text-decoration 属性
  • 对应的脚本特性为textDecorationLine


来源:http://caibaojian.com/css3/properties/text-decoration/text-decoration-line.htm
2020-01-16 10:38 举报

关于挟翼

挟翼一款提供UI页面设计的软件。
您只需要动一动鼠标绘制相关的元素,软件会自动帮你完成CSS样式和HTML代码。
从现在开始注册,立即赠送一年VIP会员。活动结束日期待定。