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