I have two div my html page header div and my popup overlay div.I am facing z-index issue when i opening my popup overlay is not applying only for header div.I want to apply overlay except my popup.How to resolve this issue?
Popup Overlay CSS:
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
width:100%;
height:100%;
background:#fff;
opacity:.60;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);filter:alpha(opacity=60);
}
Header CSS:
.header {
display: block;
top: 0px;
left: 0px;
width: 100%;
position: fixed;
z-index: 100;
margin: 0px;
padding: 0px;
background-color: #fff;
border-bottom: 1px solid #ebebeb;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}