当前位置:小百通网>问答百科>

css怎么在数字中间加一横

人气:276℃/时间:2024-04-07 23:01:55

2种方法: 1、给这个数字添加css属性:text-decoration: line-through; 2、给这个数字添加标签:del。如:

9999

。 text-decoration详解: text-decoration : none || underline || blink || overline || line-through  none : 无装饰。text-decoration:none 无装饰,通常对html下划线标签去掉下划线样式。 blink : 闪烁 underline : 下划线。text-decoration:underline 下划线样式。 line-through : 贯穿线。text-decoration:line-through 删除线样式-贯穿线样式。 overline : 上划线。text-decoration:overline 上划线样式。

  • 字典|词典|成语|诗词|美文|谜语|问答
    ©2024 小百通网 All Rights Reserved.
    手机版/电脑版