HTML and CSS Reference
In-Depth Information
Name
z-index
Values:
<integer> | auto
Initial value:
auto
Applies to:
Positioned elements
Inherited:
No
Computed value:
Same as declared value
Description:
Defines the placement of a positioned element along the z-axis, which is defined to be the
axis that extends perpendicular to the display area. Positive numbers are closer to the user, and
negative numbers are farther away.
Example:
#masthead {position: relative; z-index: 10000;}
Search WWH ::




Custom Search