@shravanchinchkarSubmitted 3 months ago
What specific areas of your project would you like help with?
I want a help in "How to change the fill of an svg when it is hovered"
I want a help in "How to change the fill of an svg when it is hovered"
To be able to fill an svg image on hover you have to use it as an <svg> element and not an <img> element. Open the svg image in your browser, open devtools and copy what you see or open it in your code editor and copy it. Give the <svg> element a class or an id then add a "fill-rule" of nonzero or evenodd to the path of the <svg>. You can take out the fill color from the path and put it in your class style, :hover should work now.
Let me know if this helps.