Is it even possible to change the pseudo classes with jQuery ? Is there any workaround for achieving this?
Try to create a class selector to your CSS, and toggle the class on and off for the element you would like to change style/anything when you hover over it.
Here are other suggestions: Setting CSS pseudo-class rules from JavaScript
Dynamic CSS pseudo class styles with jQuery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With