Use a:visited in your CSS stylesheet
Overriding a link's default color has an unintended side effect, as Evert Pot points out: setting something like a { color: #44F } also turns off the familiar purple visited-link styling. He calls that a shame, since plenty of situations involve working through a list of links and wanting to spot the ones already seen.
Pot cites two examples he ran into on the same day:
- AWS Cloudwatch Logs
- Stackoverflow search results
The response from CSS-Tricks is supportive of those use cases and argues that :visited is a bit under-used overall — though not by much. Its real value shows up when a user is asking themselves whether they have already seen a particular link.
On CSS-Tricks itself, the author isn't eager to adopt it, since it's unclear that knowing you've visited a given link matters for the UX — especially not on a blog-like site.




