The layering and positions of the boxes should not be affected by oveflow:hidden.
Box contents
Behind
Behind behind
In Front
Box contents
Behind
Behind behind
In Front