欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!
CSS text-decoration 属性定义及使用说明
 
text-decoration 属性规定添加到文本的修饰。
 
注意: 修饰的颜色由 "color" 属性设置。
 

27e3fbe65c5f74ac52464c66f8bf9b7.png

 
 
实例:
 
设置h1,h2,h3和h4元素文本装饰
 
 
 
 
h1 {text-decoration:overline}
 
h2 {text-decoration:line-through}
 
h3 {text-decoration:underline}
 
属性值
 

a71295cbedad54b7ea73a55febfb013.png




本文转载自中文网

 

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/rumen/r56081.shtml