2014-01-05 142 views

回答

1

目標hover狀態上a或添加class如果你想針對特定鏈接

a:hover{ 
    font-weight: bold; 
    text-decoration: underline; 
} 
3

您需要使用:hover選擇

a:hover { 
    font-weight: bold; 
    text-decoration: underline; 
} 
+0

已回答我的問題。謝謝! – user3013909

0

此代碼出現的所有鏈接

a:hover { 
font-weight: bold; 
text-decoration: underline; 
} 

如果你只想爲菜單去這個

#menu li a:hover { 
font-weight: bold; 
text-decoration: underline; 
}