To each their own, but I find styling links like this pretty jarring, and it has limited semantic value.
That said it’s a cool CSS feature.
Same here. I was inspired by Gwern and other blogs and used to do this on my site but removed it because I think it stood out too much.
Gwern does an interesting thing with this, where specific sites like wikipedia and archive.org have special icons.
There’s a proposal for :local-link pseudo class. It would make this a little less awkward. Unfortunately, it’s not supposed by any browser yet.
:local-link
Pleasantly surprised to see that the recommended approach for doing this hasn’t changed in ten years.
I’m not a fan of using this everywhere, but really like the result on things like docs sites, where there are many/mostly internal links, but occasional external ones, too.
To each their own, but I find styling links like this pretty jarring, and it has limited semantic value.
That said it’s a cool CSS feature.
Same here. I was inspired by Gwern and other blogs and used to do this on my site but removed it because I think it stood out too much.
Gwern does an interesting thing with this, where specific sites like wikipedia and archive.org have special icons.
There’s a proposal for
:local-link
pseudo class. It would make this a little less awkward. Unfortunately, it’s not supposed by any browser yet.Pleasantly surprised to see that the recommended approach for doing this hasn’t changed in ten years.
I’m not a fan of using this everywhere, but really like the result on things like docs sites, where there are many/mostly internal links, but occasional external ones, too.