Resources

Turn on underline

div {
  text-decoration: underline;
}

Change color of line

If underling is already on.

div {
  text-decoration-color: grey;
}

div:hover {
  text-decoration-color: blue;
}

Turn on underline and set color of the line

div {
  text-decoration:  underline grey;
}