FIXED:是自定义CSS,而不是自举:/
此导航工作日前工作,但现在当我切换时,它不会在xs
和sm
屏幕上显示这些项目。一切都工作起来。
<nav class="navbar navbar-expand-md nav-margin-md navbar-dark bg-dark">
<div class="navbar-brand" style="font-size: 95%;">
Brand
</div>
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Container for all links and navbar content -->
<div class="collapse navbar-collapse" id="navCollapse">
<ul class="navbar-nav nav-margin-md">
<li class="nav-item"><a class="nav-link" href="index.html">Hjem</a></li>
<li class="nav-item"><a class="nav-link" href="./pages/bilder.html">Bilder</a></li>
<li class="nav-item"><a class="nav-link disabeled" href="./pages/about.html">Om Oss</a></li>
<li class="nav-item"><a class="nav-link disabeled" href="./pages/services.html">Tjenester</a></li>
</ul>
</div>
</nav> <!-- /navbar -->
答案 0 :(得分:0)
也许您错过了bootstrap 4 beta所需的任何文件。为此,您需要jquery.js
和tether.js
个文件。