I'll explain: I want to detect a click on a pseudo-element, which I already know is not possible. So I've thought that I could made the cursor pointer with CSS while the cursor is over the pseudo-element and then, when the click event starts, watch if the cursor was pointer at that moment.
Asked
Active
Viewed 66 times
0
-
3Can you please upload code? – Code Assassin Dec 20 '22 at 08:24
-
2Does this answer your question? [Only detect click event on pseudo-element](https://stackoverflow.com/questions/7478336/only-detect-click-event-on-pseudo-element) – Xiddoc Dec 20 '22 at 08:28