Design comparison
SolutionDesign
Solution retrospective
Hi there!! How do you change the color of the .svg icon?, I always have struggles with that :/ .
Thank you!! (:
Community feedback
- @DiarrahPosted about 4 years ago
Whenever I change to color of my SVG icons I usually just make a whole nother icon. What I do it just copy & paste the code, make another .svg file & copy that code over & then put the correct hex code in place where it says "fill" or "stroke".
If you want to change it in the CSS itself you have to copy over the whole SVG code over into the HTML itself.
I can explain more if needed but I hope this helps!
Marked as helpful1
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