我尝试做一个导航栏,像这样:
<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
<a href="#" class="navbar-brand">CIDashboard</a>
<button class="navbar-toggler" data-toggle="collapse" data-target="#navbarMenu">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarMenu">
<ul class="navbar-nav">
<li class="nav-item">
<a href="#" class="nav-link">LOG OUT</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">USER</a>
</li>
</ul>
</div>
</nav>