Figure 4.11. The menu slides over the AwesomeNews logo
Ourmenu(thenavelement)slidesoverthelogoandMenubuttonbecauseithasa
higherstacklevel.Rememberthatwhenmultipleelementshavethesamez-index
value,thelastoneinthesourcewillbethetop-mostlayer.
Let’schangethis.Whathappenswhenweaddz-index: -1tothenavruleset?
Well,yougetthemessyouseeinFigure4.12.
144 CSS Master