017 · z-index

Red must be on top, then green, then blue, in both panes.

A: z-index
after
B: document order reference
after