Line-through in CSS but I cant seem to find any way to vary the line thickness without inelegant hacks like or image overlays.
Text-decoration line-through bold. No line is drawn and any existing decoration is removed. Font weight can also be specified as part of the font shorthand property. The text decoration thickness css property sets the thickness or width of the decoration line that is used on text in an element such as a line through underline or overline.
Text-decoration property takes underline overline line-through underline overline values to decorate the text in different ways. The line-through decoration applies because text-decoration is applied to all descendant boxes the lis and the as for instance. La propriété text-decoration est utilisée pour décorer le texte en ajoutant une ligne pouvant être positionnée sous sur ou à travers le texte.
Sets the style of the text decoration like solid wavy dotted dashed double initial. Definition and Usage The text-decoration-line property sets the kind of text decoration to use like underline overline line-through. None This value produces no text decoration although it doesnt undo a decoration thats set.
None underline overline line-through blink and inherit. Draws a 1px line across the text at its baseline. Learn Development at Frontend Masters The text-decoration-thickness property in CSS sets the stroke thickness of the decoration line that is used on text in an element.
La propriété text-decoration-line définit la façon dont les décorations linéaires sont ajoutées à un élément et notamment leur position sous le texte au-dessus ou en travers de celui-ci. Use any text you want then you will see a line go through it - which you can then copy and paste to wherever you like whether thats Facebook or Twitter. It adds lines under above and through the text.
Would cause a second decoration to appear on some emphasized words. Sets the kind of text decoration to use like underline overline line-through text-decoration-color. Text decoration in HTML used for decorating the text in different ways.