0
我使用Twitter的引導3更改背景顏色3
我想改變堆疊導航丸的背景顏色(UL)
CSS
.red .active a,
.red .active a:hover {
background-color: red !important;
}
HTML
<div class="col-lg-3">
<ul class="nav nav-pills nav-stacked red" id="NavParent">
<li class=""><a href="#" onclick="MenuToggle(this)"><span class="pull-right glyphicon glyphicon-arrow-down">
</span>Home</a>
<div class="collapse">
<ul class="nav nav-pills nav-stacked">
<li class=""><a href="#">Home1</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>
</ul>
</div>
</li>
</ul>
</div>
我在這裏錯過了什麼?