+ 1
How can I access or create Pseudo-Element using Javascript only no css
I tried useing getComputedStyle, but I wanna make element has pseudo style like ::before, ::after, ::first-line, ...etc but I can't are you guys know another way?
1 ответ
+ 9
I think it's helpful for you ..
1st link::: https://stackoverflow.com/questions/38872290/how-to-get-pseudo-element
2nd link::: https://medium.com/how-tos-for-coders/https-medium-com-kaushalshah1307-get-pseudo-elements-using-javascript-b64c88a96c46