Archived

This topic is now archived and is closed to further replies.

  • 0

How to exclude something from a and a:visited styling

Question

Posted · Report post

How can I tell something to not be given a color blue for links or an underline for a:hover or a color purple for a:visited? Is there a class or some LESS or something that says "let everything else have the default link stylings but not this link"? I don't want to force a specific color or force no underline, etc. I just want to nullify the default link stylings.

For example:

 

<a href="/" class="pure">click me</a>

I hope that makes sense. Thanks.

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

You can use a.pure and add the color you want for it and text-decoration: none

Share this post


Link to post
Share on other sites

Posted · Report post

Ok. So nothing magical I don't know about regarding this topic... that's all I was checking. Thanks!

Share this post


Link to post
Share on other sites