How to Detect Clicks on CSS Pseudo-Elements

📰 Dev.to · theRealProHacker

Imagine you want to add a close button to a modal without adding anything to the DOM. So, you use a...

Published 10 Mar 2026
Read full article → ← Back to Reads