Z order test 3: z-index (transposed values)
This test sets the z-index
of the .far
to 2 element and moves it "into" the screen by translating it along the z-axis. The z-index
of the .near
element is set to 1. No transform is applied to the .near
element. Test passes if .near
(coloured green) is rendered behind .far
(coloured red).