Is there a way to open the nav bar and have it overlap on the right without pushing content to the right? I tried experimenting with position and z-index, but it didn't work. Thank you! Link
<div id="mySidebar" class="sidebar" onmouseover="toggleSidebar()" onmouseout="toggleSidebar()">
<div class="navContent">
<a href="#">YOUR DASHBOARD</a><br>
<a href="#">MESSAGE CENTER</a><br>
<a href="#">IMPACT & OUTCOMES</a><br>
<a href="#">LEARNERS</a><br>
<a href="#">PROGRAMS</a><br>
<a href="#">SETTINGS</a>
</div>
</div>
.sidebar {
height: 100%;
width: 85px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #181633;
transition: 0.5s;
padding-top: 120px;
white-space: nowrap;
overflow-x: hidden;
}
.sidebar a {
padding: 3px 8px 3px 32px;
text-decoration: none;
font-size: 16px;
color: #D3D2E4;
display: block;
}