Home › Forums › JavaScript › pesudo element change property values › Reply To: pesudo element change property values
February 11, 2018 at 11:22 am
#266777
Paulie_D
Member
Pseudo-elements can’t be selected by JS as the aren’t in the DOM.
Frankly, I’m not entirely sure what it is you are trying to do but changing the CSS stylesheet would require a regex parse I think.
These things are usually handled by changing classes and affecting the pseudo-elements that way.