0

以下はコードです。Font-awesome でホバーを動作させようとしました。しかし、そうではありません!! 助けてください..

<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet">
<meta charset=utf-8 />
<title>JS Bin</title>
<style>
   .icon-facebook-sign:before {color:lightblue;}
   .icon-facebook-sign:hover{color:red;}
   .icon-twitter-sign:hover{color:#00BEF6}
   .icon-google-plus-sign:hover{color:red;}
</style>
</head>
<body>
<li style="float:left;">
    <!-- start social bookmarks -->
    <div style="font-size: 32px; color: grey;">
    <i class="icon-facebook-sign" style="color:red; margin-left: 0px; :hover{color:lightblue;}">               
</li>
   <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>
</body>
</html>

これを次から実行しました: http://jsbin.com/idicib/3/edit

4

2 に答える 2