z-index 跟具体数字 [code]div{z-index:100}或者div{z-index:-100}[/code] z-index的数字越高越靠前,并且值必须为整数和正数(正数的整数)。 Z-index在使用绝对定位 position:absolute属性条件下使用才能使用。