+ 4

Is it possible to add a property to a pseudo-element via JS?

I need that when I click on the button, its pseudo-element icon disappears and another appears, but without libraries.

5th Jan 2020, 5:22 PM
Anna/Аня
Anna/Аня - avatar
2 Answers