Back to the index.
text-decoration decorates text with one or more lines. It should be possible to define two or more decorations.
Also, text-decoration: blink, the most horrid invention in the CSS space ever. Nobody’s perfect.
This paragraph has text-decoration: blink.
This paragraph has text-decoration: line-through.
This paragraph has text-decoration: none.
This paragraph has text-decoration: overline.
This paragraph has text-decoration: underline.
This paragraph has text-decoration: underline overline.
It’s possible to define the text decoration more precisely by giving a colour, style, and line (i.e. position; takes the same values as above).
text-decoration-line: underline; text-decoration-color: #CB000F; text-decoration-style: double;
This paragraph has no prefix.
This paragraph has the -webkit- prefix.
This paragraph has the -moz- prefix.
This paragraph has the -ms- prefix.
This paragraph has the -o- prefix.