我需要在我的下拉菜单中添加分隔符,因此我使用以下代码:
<li class='divider'></li>
这是我的带分隔符的HTML代码:
<ul class="dropdown-menu dropdown-menu-right" id="ul_menu">
<li>
<div class="col-md-10">
<input type="checkbox" name="aggiungidsfsdf" checked=""> dsfsdf
</div>
<div class="col-md-2"><i class="fa fa-universal-access fa-1" aria-hidden="true"></i></div>
</li>
<li>
<div class="col-md-10">
<input type="checkbox" name="aggiungiasdas"> asdas
</div>
<div class="col-md-2"><i class="fa fa-universal-access fa-1" aria-hidden="true"></i></div>
</li>
<li>
<div class="col-md-10">
<input type="checkbox" name="aggiungicollaborativo"> collaborativo
</div>
<div class="col-md-2"><i class="fa fa fa-users fa-1" aria-hidden="true"></i></div>
</li>
<li>
<div class="col-md-10">
<input type="checkbox" name="aggiungiprivato"> privato
</div>
<div class="col-md-2"><i class="fa fa-lock fa-1" aria-hidden="true"></i></div>
</li>
<li>
<div class="col-md-10">
<input type="checkbox" name="aggiungicollabborativo"> collabborativo
</div>
<div class="col-md-2"><i class="fa fa fa-users fa-1" aria-hidden="true"></i></div>
</li>
<li class="divider"></li>
<li>
<a href="#" id="aggiungi_bookmarked"><i class="fa fa-fw fa fa-plus"></i>Aggiungi Bookmarked</a>
</li>
</ul>
但是这段代码不能运行,因为我看不到分隔符。有谁能帮我吗?