技术频道


CSS 删除线实现方法详解

text-decoration: line-through;

也可以使用其他 text-decoration 属性值组合,比如同时添加 下划线删除线

text-decoration: underline line-through;
 

CSS 删除线进阶用法


CSS 删除线,增加颜色和样式 - CSS3 新特性:

CommandNotFound

支持样式:solid(实线,默认)、double(双线)、dotted(点线)、dashed(虚线)、wavy(波浪线)

CSS text-decoration 扩展阅读:


 

CommandNotFound ⚡️ 坑否 - 其他频道扩展阅读:




发表评论