I'm working on creating a fixed vertical Bootstrap NavBar on the left side of the screen for larger screens, which collapses into a NavBar button for smaller screens.
Placing the Bootstrap NavBar inside a column results in the list items expanding horizontally. How can I make them stack vertically on top of each other instead of side by side when expanding the page?
https://i.sstatic.net/UBTBU.png
<div class="col-lg-2">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Features</a>
</li>
<li class="nav-item"&...