You are here : cssCSS 3text-decoration-color

text-decoration-color - CSS 3

The text-decoration-color property specifies the color of the text-decoration (underlines, overlines, linethroughs).Note: The text-decoration-color property will only have an effect on elements with a visible text-decoration.


Syntax

text-decoration-color: color|initial|inherit;


Example

p
{
   
text-decoration: underline;   
-moz-text-decoration-color: red; /* Code for Firefox */
   
text-decoration-color: red;
}


Output / Return Value


Limitations


Alternatives / See Also


Reference