@chriskirknielsen@front-end.social
Post #1522490
2026-02-20 17:10 UTC
Local link seems interesting as well for anyone adding icons to external sites.
`a:not(:local-link)::after { content: ' ↗️'; }`
And there' a functional notation to match the current subfolder? That's wild. Again, not a lot of use-cases racing through my mind (maybe it could be helpful in a blog sidebar if your permalinks are /yyyy/mm/dd to highlight an archive list for the current month/year), but I still find it very interesting to have the option!
https://www.w3.org/TR/2026/WD-selectors-5-20260217/#local-pseudo
Replies (1)
-
@netzhexe@chaos.social 2026-02-20 17:30
@chriskirknielsen personally I think I'm gonna love that one. Assuming it checks the local domain? My clients often copy the whole link instead of just the bit after their domain...