0
Pseudo-element using javascript
how can i manipulate elements that have pseudo-element ::before and ::after using javascript
2 ответов
+ 9
kind of tricky to select them
but try here
https://stackoverflow.com/questions/4481485/changing-css-pseudo-element-styles-via-javascript
i also implemented it here:
https://code.sololearn.com/WdYyPTnU8QVj/?ref=app
+ 1
hi!