到目前为止,我已经尝试过:
.navbar-inner {
text-shadow: black 0.1em 0.1em 0.2em;
}
和:
.nav > li > a {
text-shadow: black 0.1em 0.1em 0.2em;
}
两者都不起作用。是什么赋予了?
仅供参考,我的导航栏 html 代码与 Twitter Bootstrap 演示代码相同:
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Test Inc.</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>