:visited
Matches any link that the user has already visited in their browser. For privacy reasons, the browser only allows you to change a few specific properties (like 'color' and 'background-color') using this selector.
Syntax
/* Usage Example */
a:visited {
color: #551a8b;
/* standard purple color for visited links */
}
:visited Browser support
Widely available
Since
2020 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.
1+
1+
1+
12+