<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc" -->

---
title: Do you use :visited on links? | daily.dev
description: A blogger reflects on the CSS :visited pseudo-class, noting that most sites (including his own, previously) style visited links identically to unvisited ones....
canonical: https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Do you use :visited on links? | daily.dev
og:description: A blogger reflects on the CSS :visited pseudo-class, noting that most sites (including his own, previously) style visited links identically to unvisited ones....
og:url: https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc
og:image: https://api.daily.dev/og/posts/vIbGyAxUC.png
og:image:alt: Do you use :visited on links?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Do you use :visited on links?

**[Lobsters](https://daily.dev/sources/lobsters)** · 2 min read · 17 upvotes · 15 comments

## Summary

A blogger reflects on the CSS :visited pseudo-class, noting that most sites (including his own, previously) style visited links identically to unvisited ones. After noticing Miniflux, his RSS reader, usefully colors visited links purple, he decided to add similar styling to his own blog with a short CSS snippet, and asks readers whether they use :visited on their own sites.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://kevquirk.com/do-you-use-visited-on-links>

## Questions this post answers

### How do I make visited links a different color using CSS :visited?

Use the :visited pseudo-class selector to apply a distinct color to links a user has already clicked. For example, style regular links with `a { color: #3995F7; }` and add `a:visited { color: #8839F7; }` to turn visited links purple, making it easy for readers to spot links they've already followed within a page.

_Developers debating link styling choices can compare approaches like this one on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 24 comments across lobsters, hackernews (as of 2026-09-22).

**TL;DR:** Discussion centers on whether :visited helps or hurts users, with many valuing it for tracking what's been read (especially on link-heavy or nav-index pages) while others worry about privacy history-sniffing risks or find it stylistically awkward to implement well.

**Sentiment:** 50% positive · 35% mixed · 15% skeptical

**The case for**

- Helps avoid re-opening the same link when researching or browsing link-heavy pages.
- Useful as a lightweight 'read' marker without needing persistent storage or a backend.
- Some praised sites that still style visited links as a thoughtful, user-friendly default.

**The pushback**

- Visited-link styling was historically exploited for history sniffing/fingerprinting, which is why many sites and browsers restrict or avoid it.
- Some find distinguishing visited links feels oddly hostile or judgy as a user experience.
- Nav bar links are often deliberately left unstyled since their content changes constantly, making :visited irrelevant there.
- Implementing custom visited styles can be technically limited since :visited only affects a few CSS properties (e.g. not box-shadow).

**By community**

- lobsters (mixed): Commenters debate the value of :visited, split between practical usefulness for tracking browsing and concerns about privacy history-sniffing or its 'judgy' feel.
- hackernews (mixed): No substantive comments were available to characterize the discussion.

**Hottest debate:** Whether distinguishing visited links is a helpful convenience or a privacy/UX liability (history sniffing, feeling 'judgy').

**Open questions**

- Should browsers offer more user-facing control over link/visited colors, similar to editor or terminal themes?
- How much residual fingerprinting risk remains given current browser restrictions on :visited?

**Highlights**

> Analysing `:visited` colours was used as an earlier form of user finger printing. Ensuring `:visited` always has the same colour wrt the plain link isn't so much micro hostility as a remnant from that time: websites shouldn't be able to tell which sites you've visited just by dropping a list of 1000 links in a hidden div and then profiling you based on what's purple, and so most web dev resources advocated not letting browsers recolour visited links, as a way to signal "I know, and I care about your privacy". It was bad enough that browsers eventually had to step in and literally change what information you could get, https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Selectors/Privacy_and_:visited
> — [Pomax on lobsters · 1 points](https://lobste.rs/s/34xsdg/do_you_use_visited_on_links#c_fri0rd)

> :visited is very useful when clicking around to research things, to avoid opening the same page five times because I've forgotten what I've looked at and not. And to follow my own footsteps when I'm looking for the same thing a few days later.
> — [m\_eiman on lobsters · 8 points](https://lobste.rs/s/34xsdg/do_you_use_visited_on_links#c_xr7tpr)

> Personally (speaking as a user) I find :visited to feel very hostile and judgy (almost stressful..), and if there was a browser-wide option to turn it off I would use it in a heartbeat. Edit: Oh, turns out Firefox does have this! Disable `layout.css.visited_links_enabled` in about:config and all the purple is gone.. huzzah!
> — [natkr on lobsters · 2 points, 1 comments](https://lobste.rs/s/34xsdg/do_you_use_visited_on_links#c_0cofgm)

> General and longstanding consensus is to treat nav bar links differently from content links. Content links should always be coloured (ideally blue but purple when visited; but brand accent colour and no visited is also common) and underlined at least on hover (I think we got past the no-underlines-at-all stage? I’m actually a little uncertain because I force an underline on links by user stylesheet, semitransparent when not hovered), but nav bar links are seldom coloured or underlined. (Any site that doesn’t colour content links is *wrong*. And I include Lobsters in that, slightly-lighter grey is *bad*. I fix this and other things in my user stylesheets.)
> — [chrismorgan on lobsters · 2 points](https://lobste.rs/s/34xsdg/do_you_use_visited_on_links#c_znambk)

> I didn't realize how much I'm used to `:visited` until I looked at a site where the link color was, by default, quite similar to the default `:visited` color. I though, "oh, I must have seen all of these pages." and then I realized that all of the links were the same color. it's really quite a simple and useful feature depending on the kind of website -- you don't need an entire database in the backend or javascript in the frontend to track all of the things you've seen; the browser can just use its already existing (and private and local) database of history. it's these little subtleties of a UI that go so unnoticed that those overwriting the defaults might not even realize that they're missing, and then it subtly makes the experience worse. in this case, if you set the color of links and then do not also set a color for `:visited`, the visited color is the same, and I'm sure many people have done this without even thinking about it.
> — [raven on lobsters · 2 points](https://lobste.rs/s/34xsdg/do_you_use_visited_on_links#c_f3typb)

**Source threads**

- [lobsters](https://lobste.rs/s/34xsdg/do_you_use_visited_on_links) · 22 points · 24 comments
- [hackernews](https://news.ycombinator.com/item?id=49786433) · 1 points · 0 comments

## Community discussion

Top comments from developers on daily.dev.

**@fairywhisperie** · 2 upvotes

> I think this may be one of the many "normal people" things that I absolutely abhor. I don't want what I'm reading to change colour if I've tapped it. I want the links to be visible and separated visually from the base text, yes, but I know what I've read or opened, and its completely irrelevant if, 3 hours or 3 years from now I come back to an article or a post! :viewed, unless its in a reading list, is just visual clutter for me? And even if it's in a reading list, I'd prefer a manual checkbox, because opening the file doesn't mean I've read, digested and understood it, it literally tells me...

**@jpdelatorre** · 1 upvotes

> It obviously depends on the use case. In most cases, visited links look ugly. But  list of to-do items could use this instead of a database.

**@akkitto** · 1 upvotes

> I personally always hated the different colouring. It's like, I cannot visit a site, without tainting the aesthetics of the site. In actuality, it just made me click less links and annoyed me.
>
> The absolute worst was, when I re-visited the root page much later and the links were still differentiated between visited and not. This is terrible.

**@agustinbarrientos** · 0 upvotes

> I prefer when article links have a different color after being visited, and when navigation links look the same on every page

**@idgmon** · 0 upvotes

> There are definitely situations in which it's useful.
> Minorly so, but still.

## Similar posts on daily.dev

- [Nerdy Design Details](https://daily.dev/posts/nerdy-design-details-uhtk6vxkh) · Kitty says hi. · 22 upvotes · 4 comments
- [What I learnt about making websites by reading two thousand web pages](https://daily.dev/posts/what-i-learnt-about-making-websites-by-reading-two-thousand-web-pages-dudd77fp0) · Lobsters · 1 upvotes · 0 comments
- [Practical CSS: Combining :has, :not, :only-child and :placeholder-shown pseudo-classes](https://daily.dev/posts/practical-css-combining-has-not-only-child-and-placeholder-shown-pseudo-classes-5gvvbff0w) · RUBYLAND · 7 upvotes · 0 comments
- [Underlining Links With CSS](https://daily.dev/posts/underlining-links-with-css-ixynlxegm) · Always Twisted · 16 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css), [#ui-design](https://daily.dev/tags/ui-design)

[View this post on daily.dev](https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Do you use :visited on links?","url":"https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc"},"datePublished":"2026-09-21T14:50:52.421Z","dateModified":"2026-09-22T02:23:10.275Z","description":"A blogger reflects on the CSS :visited pseudo-class, noting that most sites (including his own, previously) style visited links identically to unvisited ones....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/54fb83d5ab2a5d52e7027420e38f8dea?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/54fb83d5ab2a5d52e7027420e38f8dea?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":15,"discussionUrl":"https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":17},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":15}],"keywords":"css,ui-design","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Do you use :visited on links?"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc","comment":[{"@type":"Comment","text":"I think this may be one of the many “normal people” things that I absolutely abhor. I don’t want what I’m reading to change colour if I’ve tapped it. I want the links to be visible and separated visually from the base text, yes, but I know what I’ve read or opened, and its completely irrelevant if, 3 hours or 3 years from now I come back to an article or a post! :viewed, unless its in a reading list, is just visual clutter for me? And even if it’s in a reading list, I’d prefer a manual checkbox, because opening the file doesn’t mean I’ve read, digested and understood it, it literally tells me I’ve opened it. That’s not useful information.","datePublished":"2026-09-21T17:44:30.756Z","url":"https://daily.dev/posts/vIbGyAxUC#c-h8OU59rAA","author":{"@type":"Person","name":"Amanda Cunningham","url":"https://daily.dev/fairywhisperie","image":"https://avatars.githubusercontent.com/u/134506097?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"It obviously depends on the use case. In most cases, visited links look ugly. But  list of to-do items could use this instead of a database.","datePublished":"2026-09-24T16:46:42.781Z","url":"https://daily.dev/posts/vIbGyAxUC#c-KwuWTY0fE","author":{"@type":"Person","name":"JP de la Torre","url":"https://daily.dev/jpdelatorre","image":"https://media.daily.dev/image/upload/s--vMLSF3-1--/f_auto/v1787723050/avatars/avatar_0fMQQvxSIIVibBvP847Xo?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"I personally always hated the different colouring. It’s like, I cannot visit a site, without tainting the aesthetics of the site. In actuality, it just made me click less links and annoyed me.\nThe absolute worst was, when I re-visited the root page much later and the links were still differentiated between visited and not. This is terrible.","datePublished":"2026-09-22T09:51:44.616Z","url":"https://daily.dev/posts/vIbGyAxUC#c-4kQFzh0np","author":{"@type":"Person","name":"Daniel","url":"https://daily.dev/akkitto","image":"https://media.daily.dev/image/upload/s--FtwJqX4c--/f_auto/v1754900041/avatars/avatar_29TCpY2hJR72V3BlxPXzX?_a=BAMClqZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"I prefer when article links have a different color after being visited, and when navigation links look the same on every page","datePublished":"2026-09-23T08:22:44.978Z","url":"https://daily.dev/posts/vIbGyAxUC#c-WkmuqE7uG","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"}},{"@type":"Comment","text":"There are definitely situations in which it’s useful.\nMinorly so, but still.","datePublished":"2026-09-23T08:22:47.926Z","url":"https://daily.dev/posts/vIbGyAxUC#c-xiYfAmYij","author":{"@type":"Person","name":"Isaiah","url":"https://daily.dev/idgmon","image":"https://lh3.googleusercontent.com/a/ACg8ocKp2zzJM1GVU2ZhlbbOLlSc9FWw2LEnUmvHtfXw5einSi1sh_IfJQ=s96-c"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc#faq","mainEntity":[{"@type":"Question","name":"How do I make visited links a different color using CSS :visited?","acceptedAnswer":{"@type":"Answer","text":"Use the :visited pseudo-class selector to apply a distinct color to links a user has already clicked. For example, style regular links with `a { color: #3995F7; }` and add `a:visited { color: #8839F7; }` to turn visited links purple, making it easy for readers to spot links they've already followed within a page. Developers debating link styling choices can compare approaches like this one on daily.dev."}}]}
```

