The red box is rendered first and should be on the bottom

The green box is rendered second and should be on top of the red box

The stacking order was changed by setting the z-index for the red box to 10 and the green box to 1