ScanSkill

text-decoration-color

The text-decoration-color property sets the color of the text-decoration (underline, overline, line-through).

Syntax

text-decoration-color: color ;

Example

.div-1{
            text-decoration: underline;
            text-decoration-color: red;
        }
text-decoration-color

Property Values

color: sets the given color as the color of text decoration.