Change between SVG fill colors with one button. in GSAP Posted September 27, 2022 Old topic, but would like to add you can simply use CSS like below change color svg path{ fill:red } You can also other ways here: https://qawithexperts.com/article/html/how-to-change-color-of-svg-various-ways-using-css/414 Thanks
Change between SVG fill colors with one button.
in GSAP
Posted
Old topic, but would like to add you can simply use CSS like below change color
svg path{ fill:red }
You can also other ways here: https://qawithexperts.com/article/html/how-to-change-color-of-svg-various-ways-using-css/414
Thanks