So. Basically I have the following problem.
When I have an a element, linking it to another element on the card with a “#ID”.
I want to highlight the other element with another background color.
How I do that, I already know.
I have to use the :target selector in css.
There is only one problem. It does not work. Everytime I click on the link, nothing happens with the element, which I linked to.
If you try this JSFiddle, it clearly works: JSFiddle - Code Playground
In Anki (when I insert it into a notetype), it doesn’t work at all. What could be the reason for this?