48+ Text Decoration Css W3Schools Background. You can also combine more than one value, like underline and overline to display lines both. W3schools is powered by w3.css.
Draws a 1px line across the text at its middle point. Adds a line on top of the text ; Try it yourself » definition and usage.
The following example makes the selected text red on a yellow background:
Sets the style of the text decoration (like solid, wavy, dotted, dashed, double). The color applies to decorations, such as underlines, overlines, strikethroughs, and wavy lines like those used to mark misspellings, in the scope of the property's value. The following example makes the selected text red on a yellow background: Specifies the style of the line in a text decoration: