NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
``` 文本修饰 text-decoration ``` 作用:设置文本,设置文本整体是否有线条修饰 属性值: none: 没有修饰 overline:上划线 line-through: 中划线,删除线 underliue:下划线 没有修饰 上划线 删除线 下划线 通常使用 text-decoration 属性取消a,的默认下划线 代码: ``` .none{ text-decoration:none;       } .overline{ text-decoration:overline;       } .line-through{ text-decoration:line-through;       } .underliue{ text-decoration:underline;       } <p class="none">没有修饰</p> <p class="overline"> 上划线</p> <p class="line-through">删除线</p> <p class="underliue">下划线</p> ``` 效果: ![](https://img.kancloud.cn/45/5e/455efd168624e969e277d2beaf730c7e_1208x535.png) <p style="color:red">通常使用 text-decoration 属性取消a,的默认下划线</p>