I'm working on implementing an overlay
feature in my project to prevent users from interacting before the content is fully loaded. I have included the following overlay code:
.overlay {
opacity: 0.5;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
top: 0;
left: 0;
position: fixed;
}
The issue I am facing is that the overlay covers 100% of the entire page except for the bootstrap navigation bar. Can you please assist me with making the overlay cover the bootstrap navigation bar as well?
<div class="overlayIndex"></div>
<div class="navbar navbar-default navbar-static-top navbar-fixed-top">
<div class="container">
<div class="row">.......</div>
</div>
</div>
<div ng-view="" autoscroll="true"></div>