Answer the question
In order to leave comments, you need to log in
How to change SVG color on button click?
When you click on the button, the color changes, but it is necessary that when you click it again, the color changes back to the original one. For example, they pressed the button - the white figure became blue, they pressed the button again - it became white again. Tried toggle, doesn't work. Does it work with SVG? Example here
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question