CSS Z-index Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Specifies the placement of the element along the z-axis.
Syntax
z-index: [value];
Possible values
- [integer]
- auto
- inherit
Initial Value
Auto
Applies To
Positioned elements
Inherited
No
Media
Visual
Example
h3 {
display: block;
position: absolute;
margin: 50px;
z-index: 3;
}
Loading Twitter