How to create a navbar with multiple menu items that are always visible? Some items will be shown upon clicking the navbar button, while others will remain steady.
Using the bootstrap navbar-toggler button can make the navbar longer when adding more items. Any suggestions on how to improve this?
Thank you.
<div class="container">
<a class="navbar-brand" href="#"><img src="img/X.png" alt="logo" style="width:40px;"></a>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a href="#">Home</a>
</li>
<li class="nav-item">
<a href="#">Services</a>
<li class="nav-item">
<a href="#">Contact</a>
</li>
<li class="nav-item">
<a href="#">About</a>
</li>
</ul>
</div>
<button class="btn" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar"></button>
<div>
<ul>
<li class="nav-item">
<a class="nav-link" href="#">Item 1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Item 2</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Item 3</a>
</li>
</ul>
<span class="navbar-toggler-icon"></span>
</div>
</div>
</nav>