css text-decoration属性怎么用

互联网 19-5-27

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

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

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

实例:

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

h1 {text-decoration:overline} h2 {text-decoration:line-through} h3 {text-decoration:underline}

属性值

以上就是css text-decoration属性怎么用的详细内容,更多内容请关注技术你好其它相关文章!

来源链接:
免责声明:
1.资讯内容不构成投资建议,投资者应独立决策并自行承担风险
2.本文版权归属原作所有,仅代表作者本人观点,不代表本站的观点或立场
上一篇:php获取远程图片并下载保存到本地的方法分析 下一篇:css text-decoration-line属性怎么用

相关资讯