If I have a css file that does something like this #foo:after{content:"bar;} , is there any way to get the contents of the :after with javascript? Getting the contents of the parent element just returns the content of the #foo element, not the :after bit.
If I have a css file that does something like this #foo:after{content:bar;} , is
Share
Pseudo elements can’t be grabbed nor manipulated in JS because they don’t actually exist in the DOM.