Design comparison
Solution retrospective
Here is my second frontendmentor challenge! The result is not bad, but the code seems a bit messy to me. Let me know what you think :) Also, if someone knows the "trick" to change the color of an SVG on hover, I tried using "fill: white" but it seems I may not have used it correctly...
Community feedback
- @MtalafaPosted about 1 year ago
Hi, First of all, well done on completing this challenge. To change the color of the svg, copy it into your html (not as img) and delete the following from the svg: fill="#2C7566" fill-rule="nonzero". After you can add fill in css, you can also add fill on hover. You can also add this to the original state of your links: transition: all .3s; When you hover over a button or a link the transition from one color to the other will be more smooth. Happy coding.
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