Equalizer landingpage

Solution retrospective
I got one problem which I dont solved, dont know why I cant change color of svg graphic with 'fill' property.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @oshudev
Hello there 👋. Good job on completing the challenge!
About your question, you can't use fill property if the
svg
file is inside theimg
tag. What you can do is copy and paste the svg code inside your html. Alternatively you can usefilter
property to change the color. I found an article explaining how to do it, Swapping Fill Color on Image Tag SVGs (Using CSS Filters!).I hope you find it useful! 😄
Happy coding!
Marked as helpful
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