css text-decoration属性怎么用


本文摘自PHP中文网,作者silencement,侵删。

CSS text-decoration 属性定义及使用说明

text-decoration 属性规定添加到文本的修饰。

注意: 修饰的颜色由 "color" 属性设置。

27e3fbe65c5f74ac52464c66f8bf9b7.png

实例:

设置h1,h2,h3和h4元素文本装饰

1

2

3

h1 {text-decoration:overline}

h2 {text-decoration:line-through}

h3 {text-decoration:underline}

属性值

a71295cbedad54b7ea73a55febfb013.png

以上就是css text-decoration属性怎么用的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

css font控制字体的多种变换

jquery怎么操作css设置高度

css中div的意思是什么

css list-style属性怎么用

jq怎么写css样式

css具备什么特点

css怎么去掉边框

如何建立纯css的滑块

css怎么给图片加上下边框

css如何使用!important规则?(代码示例)

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




打赏

取消

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

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

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

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

评论

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