我有一个bootstrap导航栏,如下所示:
<nav class="navbar navbar-default navbar-fixed-top" style="background-color: #F5F5F5 !important">
<div class="container-fluid">
<div class="navbar-header navbar-nav">
<a id="homeLink" class="navbar-brand" href="@Url.Action("Index", "Home", new { goHome = true })"><span class="glyphicon glyphicon-home"></span></a>
<button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse navbar-left">
<ul class="nav navbar-nav">
<li class="">@Html.ActionLink("Analysts", "Index", "Analyst", null, new { @class = "loadmsg" })</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
Reports
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Marketing Write-ups Summary", "MarketingWriteupSummary", "Report", null, new { @class = "loadmsg" })</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
如你所见,有一个&lt; li>在Marketing Write-Ups摘要的Reports下拉列表中。在iPad上,我希望有一些视觉指示,用户选择了这个,例如,将文本更改为不同的颜色。我该怎么做?