HTML Dog

Skip to navigation

CSS Property: z-index

Specifies the order of relative or absolutely positioned boxes in the z-axis. The higher the number, the higher that box will be in the stack.

Possible Values

Example


div { position: absolute; }

#kidkoala { z-index: 2 }

#mrscruff { z-index: 1 }