我有一个响应式引导菜单,但我不想在平板电脑模式下折叠它。我尝试在桌面和平板电脑模式下显示相同的菜单。菜单在 940px 或以下折叠,我想在 768px 或以下进行。
谁能帮我?谢谢
编码:
div class="navbar">
<div class="navbar-inner">
<div class="container">
<!-- I want to display this code only in Phone mode-->
<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="#">Project name</a>
<!-- This part is hidden (collapsed) at 940px or less
But I want to collapse it at 768px or less!!!!
-->
<div class="nav-collapse collapse">
<!-- menu items -->
</div>
</div>
</div>
</div>