parent1,z-index=1

parent1,position=absolute, z-index=5

parent2,z-index=2

parent2, position=absolute, z-index=4
parent2,position=absolute, z-index=3