I have googled a lot and am here to seek some expert's suggestion on this issue am facing.
The header has a css below -
.head {
position: fixed;
z-index: 1;
}
and the content on the page DIV has a form with a tooltip in some of it's fields with below css on the tooltip -
<div class="sample">
<input type="text">
<div class="tooltip" style="top: -44px; left: 1228px;
display: block;">
<div class="downarrow"></div>
<div class="inside">Sample tooltip text goes here!!!</div>
</div>
</div>
and the css -
.tooltip{
position: absolute;
z-index: 1070;
}
Now, from my knowledge the stacking goes like fixed, absolute and then relative(please correct me if wrong). which is why my tooltip goes under the header div. But, is there any way to make the tooltip come on top?
Appreciate your responses. I have pretty much hit a wall in finding a solution without making layout changes and hence the post.
Update: CodePen: https://codepen.io/anon/pen/VVJpzw