why are element inside a fixed position visible code example
Example: how to position fixed inside a div
//Do not forget the absolute position!
.parentDiv{
position: relative;
}
.insideParentDiv{
position: absolute;
}
//Do not forget the absolute position!
.parentDiv{
position: relative;
}
.insideParentDiv{
position: absolute;
}