Answers for "css changing the color of the underline in text"

10

css underline color

u
{
	text-decoration: underline;
  	text-decoration-color: red;
}
example of use: (in html)

<p>The word <u>CAT</u>, is underlined </p>
Posted by: Guest on March-28-2020
1

how to change the color of the undeline in css

/* Changing the color of the underline to red */
p {
  text-decoration: underline;
  text-decoration-color: red;
}
Posted by: Guest on February-27-2021

Code answers related to "css changing the color of the underline in text"

Browse Popular Code Answers by Language