Design comparison
SolutionDesign
Community feedback
- @HariNarayanan1810Posted 3 months ago
Whenever you hover through the list of social media link the background should be in lime color and the text should be in black color , but in your code it show lime color and white color , only when he mouse comes to the text it change to black
li:hover { background-color: hsl(75, 94%, 57%); }
to solve this you need to add one more line for color
li:hover { background-color: hsl(75, 94%, 57%); color:black; }
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