I have some social site icons that are grey. When you hover over them, I want them to change to their appropriate color (facebook: blue, google+: red, etc.). I've played around with it, to no avail. Here's the code:
<li style="float:left;">
<!-- start social bookmarks -->
<div style="font-size: 32px; color: grey;">
<i class="icon-facebook-sign" style="margin-left: 0px;"></i>
<i class="icon-twitter-sign" style="margin-left: -12px;"></i>
<i class="icon-linkedin-sign" style="margin-left: -12px;"></i>
<i class="icon-google-plus-sign" style="margin-left: -12px;"></i>
</div>
<!-- end social bookmarks -->
</li>
you can use:
.icon-facebook-sign:hover{color:lightblue;}
.icon-twitter-sign:hover{color:yellow}
http://jsbin.com/opeyoy/1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With