Menu
The text-decoration-color
property designates the color of the text-decoration.
Example:
h3 {
text-decoration: underline;
text-decoration-color: green;
}
/* Shorthand version */
h3 {
text-decoration: underline solid green 3px;
}
color
Designates the color of the text-decoration.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of text-decoration-color
? Submit a codepen.io demo and we'll showcase it here ↴