I've something like the following css:
#one{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
}
#two{
position: relative;
z-index: 9;
width: 200px;
height: 200px;
background: red;
}
#link{
position: relative;
z-index: 9999999; /*this is not in higher layer why??? */
}
I cannot increase the z-index of #two
as per my design.
But I've assigned higher z-index to the #link
but it's not getting in higher layer.
So, why the position fixed is blocking to the layer (z-index) ?
If the position of #one wasn't positioned fixed then it would work fine. So, my question is why position fixed is giving me a bug?