Design comparison
SolutionDesign
Solution retrospective
Hey guys ! any feedback is welcomed...its been hard for me to change the color of svg icon while hovering on them ...and i just need your help
Community feedback
- @Ahmed-ElbaldPosted over 1 year ago
HI,
- Concerning your question, you can change the color of the SVG using the
fill
property in CSS. So, you can make something like:
svg:hover {fill: red;}
If that doesn't work, try to remove the element's intrinsic style in the HTML code. You can also use icons that are easier to style from libraries like FontAwesome.
Marked as helpful0 - Concerning your question, you can change the color of the SVG using the
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord