Skip to content

Instantly share code, notes, and snippets.

@evolkmann
Created October 23, 2018 20:06
Show Gist options
  • Save evolkmann/598681305587741bf034ed01088dbbbb to your computer and use it in GitHub Desktop.
Save evolkmann/598681305587741bf034ed01088dbbbb to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
.no-decoration,
.no-decoration:hover {
color: inherit;
text-decoration: none;
}
p {
color: red;
}
a {
text-decoration: line-through;
}
</style>
</head>
<body>
<div>
<p>
This is some <a class="no-decoration" href="#">Link without deco</a>
</p>
<p>
This is a <a href="#">normal link</a> with my project's custom style.
</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment