Nice link styles

Keep links obvious, but make the underline lighter.

CSS · Nice link stylesBeginner
a {
  color: #2563eb;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgb(37 99 235 / 0.4);
}
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
linksunderlinehovertext-decoration