text-decoration怎么用

前端 2021-08-21 14:23:49 0 3,122

在网页文本编辑中有的文字需要突出重点,告诉读者这段文本很重要,往往会给文字增加下划线,上划线或者增加删除线效果,从而吸引读者的眼球。在CSS3中,text-decoration属性是文本修饰属性,该属性可以为页面提供多种文本的修饰效果,例如,下划线、删除线、闪烁等。

text- decoration属性语法格式如下所示。

text-decoration: none l underline l blink l overline l line-through

#text-decoration#


您的见解

已有 0 条答案