Desktop first design

Solution retrospective
How to change the color of SVG, when hovered? I set the background image as SVG to a div and tried changing the fill and color in CSS, it didn't work.
Thank you
Please log in to post a comment
Log in with GitHubCommunity feedback
- @nasim67reja
fill will only work for inline svg. Use inline svg for more control.By using img tag or background you won't be able to change the color by fill property. Check this playlist
Marked as helpful - P@karthik2265
Thank you for the feedback 😀
Join 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