The text-decoration property adds an underline overline line-through or a combination of lines to selected text.
Text decoration line through diagonal. Should you need strikethrough for other reasons the recommendation from here is to use text-decoration. Bootstrap CSS class text-decoration-line-through with source code and live preview. It is a shorthand for text-decoration-line text-decoration-color text-decoration-style and the newer text-decoration-thickness property.
See property values and try examples. Text-decoration property takes underline overline line-through underline overline values to decorate the text in different ways. Text-decoration-line text-decoration-color et text-decoration-style.
It can also set the underline color on links. Text decorations are drawn across descendant text elements. Simplest is of course text-decoration.
Cest une propriété raccourcie qui permet de paramétrer simultanément les propriétés détaillées. There is another way of looking at the meaning of the CSS2 specification. CSS の text-decoration-line プロパティは下線や上線など要素内の文字列に使われる装飾の種類を設定します.
The text-decoration-line CSS property sets the kind of decoration that is used on text in an element such as an underline or overline. Draws a 1px line across the text at its baseline. If you want to use all three together you can use the shorthand text-decoration property.
Vincent Steele You can control which variants are generated for the text decoration utilities. Text-decoration is the property used for text decoration. My pure CSS solution would be to place another element of text behind your first element of text that is identical in number of characters characters being a text-decleration of line-through and a transform of rotate.