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?
> 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.