Design comparison
SolutionDesign
Solution retrospective
Is there any solution to give color cyan when hovering the social media icon on footer? Thank You!
Community feedback
- @diversisPosted over 1 year ago
Hello! To change image color inside
<img>
you may use something like.social-icon:hover {filter: hue-rotate(330deg) saturate(10)}
. But there is a better approach forsvg
images.If you add whole.svg
contains to.html
you can than apply styles to<svg>
object.Also you can place all icons used on a page into<defs>
and than place them with<use>
inside<svg>
. More info on <defs>Marked as helpful0@AbibGuardian50Posted over 1 year ago@diversis Hi,i will give it a try,thank you for your feedack have a great day
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