CSS :any-link Selector
Example
a:any-link {
border: 1px solid red;
color: green;
}
/* WebKit browsers */
a:-webkit-any-link {
border: 1px solid red;
color: green;
}
Meaning
The :any-link selector represents an element that acts as the source anchor of a hyperlink, independent of whether it has been visited.
In other words, it matches every <a> or <area> element that has an href attribute.
Note: It matches all elements that match :link or :visited.
Version: CSS3
Standard Syntax
:any-link {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.