
`:any-link` matches links, whether they have been visited or not. `:local-link` matches links to the current URL.
7 lines
121 B
HTML
7 lines
121 B
HTML
<style>
|
|
:local-link {
|
|
color: orange;
|
|
}
|
|
</style>
|
|
<a href="">Local</a>
|
|
<a href="example.com">Not local</a>
|