元素的position属性要是relative,absolute或是fixed时候z-index才可以设置,否则不可以设置。
http://www.zhangxinxu.com/wordpress/2016/01/understand-css-stacking-context-order-z-index/
元素的position属性要是relative,absolute或是fixed时候z-index才可以设置,否则不可以设置。
http://www.zhangxinxu.com/wordpress/2016/01/understand-css-stacking-context-order-z-index/