Tuesday, November 13, 2018

Remove ALL styling/formatting from hyperlinks

You can simply define a style for links, which would override a:hovera:visited etc.:
a {
  color: blue;
  text-decoration: none; /* no underline */
}
You can also use the inherit value if you want to use attributes from parent styles instead:
body {
  color: blue;
}
a {
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
}

No comments:

Post a Comment