我有一些社交网站图标是灰色的。当你将鼠标悬停在它们上面时,我希望它们变成它们对应的颜色(Facebook:蓝色,Google+:红色等)。我已经尝试过一些操作,但都没有成功。以下是代码:
<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>