Green should be over all other because it's stacking's parent have the priority (z-index: 1) and it's position is equal to the others (because of the automatic creation of a stacking context around each outerDiv).