How to Double Strikeout a Text in HTML?

前端 未结 9 875
一向
一向 2021-02-07 04:26

I know about , and tags. These tags strike out a text once, however I want to strike out a text 2 time

9条回答
  •  萌比男神i
    2021-02-07 05:19

    A font-size independent CSS solution:

    CSS:

    del {
        background: url('/images/Strike.gif') repeat-x left 0.72em;
    }
    

    See http://jsfiddle.net/NGLN/FtvCv/1/.

    Strike.gif could be a 20x1 pixel image in the font color. Just reset background-image for del in containers with different text color.

提交回复
热议问题