Bootstrap 4 Beta导航无法正常工作

时间:2017-11-14 08:55:23

标签: html css bootstrap-4

FIXED:是自定义CSS,而不是自举:/

此导航工作日前工作,但现在当我切换时,它不会在xssm屏幕上显示这些项目。一切都工作起来。

<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 -->

1 个答案:

答案 0 :(得分:0)

也许您错过了bootstrap 4 beta所需的任何文件。为此,您需要jquery.jstether.js个文件。

check your code here