Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS What is wrong with this box-shadow in my live project? Re: What is wrong with this box-shadow in my live project?

#137603
Kitty Giraudel
Participant

> I thought only these 3 positioning can have z-index by default. Does static position have z-index too.

One of these 3 types of positioning is required for a z-index value to be interpreted by the browser. All elements on the page have a default z-index value of auto which equals 0. So, no stacking context, except for the root element which has a different behaviour.