css删除线颜色怎么设置


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

/*关键值*/

text-decoration: none;                     /*没有文本装饰*/

text-decoration: underline red;            /*红色下划线*/

text-decoration: underline wavy red;       /*红色波浪形下划线*/

text-decoration: line-through red;             /*红色删除线*/

/*全局值*/

text-decoration: inherit;

text-decoration: initial;

text-decoration: unset;

属性值

none 默认。定义标准的文本。

underline 定义文本下的一条线。

overline 定义文本上的一条线。

line-through 定义穿过文本下的一条线。

blink 定义闪烁的文本。

inherit 规定应该从父元素继承 text-decoration 属性的值。

推荐学习:《css视频教程》

以上就是css删除线颜色怎么设置的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

css中如何定义使用变量

css如何添加flash

css无法显示图片怎么办

css怎么做半圆

css怎么实现内容超出隐藏效果

css中的弹性布局是什么

css animation-timing-function属性怎么用

了解一些 提高前端开发效率的 css 属性选择器

jsp css不起作用怎么办

html与css有什么区别

更多相关阅读请进入《css》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...