Design comparison
SolutionDesign
Solution retrospective
I couldn't colorize the icons + hamburger menu
Community feedback
- @byronbyronPosted almost 3 years ago
If you swap the
<img src="images/icon-hamburger.svg" alt="hamburger icon" />
for the svg inside the image file:<svg width="32" height="18" xmlns="http://www.w3.org/2000/svg"><g fill="currentColor" fill-rule="evenodd"><path d="M0 0h32v2H0zM0 8h32v2H0zM0 16h32v2H0z"/></g></svg>
You should be able to change the icon's color using CSS, provided it has
fill="currentColor"
.Hope that works for you 👍
Marked as helpful0
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