css text-decoration文字划线使用方法
语法:
text-decoration : none || underline || blink || overline || line-through
参数:
none : 无装饰
blink : 闪烁
underline : 下划线
line-through : 贯穿线
overline : 上划线
说明:
检索或设置对象中的文本的装饰。
有href特性的a,以及u,ins对象默认值为underline 。
对象strike,s,del,默认值是line-through。
没有文本的对象此属性不会作用。
对应的脚本特性为textDecoration。请参阅我编写的其他书目。
示例:
div { text-decoration : underline; }
div { text-decoration : underline overline; }
- css font-stretch使用方法
- font-stretch : normal | narrower | wider | ultra-condensed | extra-condensed
- 03-21 关注:4
- css font字体使用方法
- font : font-style || font-variant || font-weight || font-size || line-height || font-family
- 03-21 关注:4