Ok, CSS question: Is it possible to highlight an element on the page whose href ...

@jimniels@mastodon.social

Ok, CSS question:

Is it possible to highlight an <a> element on the page whose href matches whatever the current :target element’s ID is?

If I know all the IDs before hand, I can write a selector for each. But what if I don’t?

(trying to do sans-JS)

codepen.io/jimniels/pen/poXQyOv