Solution Manage Landing Page and Responsive Design
Design comparison
Solution retrospective
What did you find difficult while building the project?
I cant change color for :hover with images .svg
Community feedback
- @adhranPosted about 2 years ago
The problem is your using "img" tag in html instead copy and paste the svg code directly into your html, To change the svg color you need to select the "path" tag of the svg and set the "fill" property to white. (eg:- 👉 svg> g > path { fill: white; })
Here I selected the "g" tag first and then the "path" because in the logo svg code the "path" tag is located inside the "g" tag but in other svgs(facebook logo, insta logo) the "path" is the directly located inside the "svg" tag
Marked as helpful0@MartinmessnerPosted about 2 years ago@adhran Thanks for taking the time to explain, I didn't remember that way :D
0
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