+ 1
How to change the psuedo element ":before" content property dynamically using JavaScript?
So i have used attr to do so ,but are there better ways and should I include them as well in case attr doesn't works! Any help is appreciated . https://code.sololearn.com/WYfqfFsuHfRz/?ref=app
1 Respuesta
0
It's not possible to access the pseudo elements using Js. The only thing you can access is their property.