返回列表 发帖

文本修饰

text-decoration属性用来设置或删除文本的装饰。

从设计的角度看 text-decoration 属性主要是用来删除链接的下划线:

实例
a {text-decoration:none;}

尝试一下 »
也可以这样装饰文字:

实例
h1 {text-decorationverline;}
h2 {text-decoration:line-through;}
h3 {text-decoration:underline;}

尝试一下 »
Remark我们不建议强调指出不是链接的文本,因为这常常混淆用户。

返回列表