Is it possible to create custom CSS pseudo-classes?
<p>I am thinking of an alternative to JavaScript in case it's manually disabled by the user, so that instead of prompting them to enabled it, I could, for instance, in some way simulate the click event and change, for instance, the background colour by creating my own :click pseudo-class, just like it works for :hover.</p>

<p>Is such a scenario possible? Is it possible for one to create their own css pseudo-classes that?</p>