css z-index keyword proposal
December 13th, 2002 by Dylan
A short extension proposal for z-index: keywords for above all other stacked boxes, and below all other stacked boxes. Use case is if you don’t know in advance how many boxes you’ll be stacking, but you know you want a certian box to be above all the others. Rather than picking a very large z-index, just use a keyword such as top or above. If more than one box has the same top or bottom keyword, normal rules apply as if they had the same integer value.
‘z-index’
Value: auto | <integer> | top | bottom | inherit
Initial: auto
Applies to: positioned elements
Inherited: no
Percentages: N/A
Media: visual