这是我的侧边栏代码
<div><ul class="menusubnav">
<li class="orange"><a href="Managerhomepage.php">Manager</a></li>
<li><a href="addcustomerpage.php">New Customer</a></li>
<li><a href="EditCustomer.php">Edit Customer</a></li>
<li><a href="DeleteCustomerInput.php">Delete Customer</a></li>
<li><a href="addAccount.php">New Account</a></li>
<li><a href="editAccount.php">Edit Account</a></li>
<li><a href="deleteAccountInput.php">Delete Account</a></li>
<li><a href="MiniStatementInput.php">Mini Statement</a></li>
<li><a href="CustomisedStatementInput.php">Customised Statement</a></li>
<li><a href="Logout.php">Log out</a></li>
</ul></div>
这是我的CSS代码
.menusubnav li{
margin-top:0px; padding:0;
list-style:none;
}
.menusubnav a{
margin-left:0px;
margin:0px; padding:10px; display:block;
border-bottom: 1px solid #e0e0e0;
font: 12px "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Verdana, sans-serif;
text-decoration:none; color: #333;
}
.menusubnav a:hover{
background-color:#FEF5EE;
}
.menusubnav a:active{
outline:none;
border-color:#ffa853;
background-color:#FF6600;
box-shadow:0 0 10px #ffa853;
}
这是我的jsfiddle
请帮助我如何做到这一点。我想聚焦或更改侧边栏菜单的活动链接的颜色。请帮忙。