Use a:visited in your CSS stylesheet

Use a:visited in your CSS stylesheet

At 3/31/2024

Evert Pot:

Unfortunately, when setting a new color (e.g. a { color: #44F }) the ‘purple visited link’ feature also gets disabled. I think this is a shame, as there’s so many instances where you’re going through a list of links and want to see what you’ve seen before.

The 2 examples I ran into today were:

• AWS Cloudwatch Logs
• Stackoverflow search results

I like those use cases. My take is that :visited is perhaps a bit under-used in general, but not by much. It’s useful in that situation where a user might wonder: hmmmm, have I seen this one yet?

I’m not particularly compelled to use it on this site — as I’m not convinced it matters for the UX if you’ve visited any particular link, particularly not in a blog-like setting as here.

Direct Link →

Copyrights

We respect the property rights of others and are always careful not to infringe on their rights, so authors and publishing houses have the right to demand that an article or book download link be removed from the site. If you find an article or book of yours and do not agree to the posting of a download link, or you have a suggestion or complaint, write to us through the Contact Us, or by email at: support@freewsad.com.

More About us