定位元素默认z-index: auto,可以看成z-index: 0,这条规则,img标签可以,为什么span不可以,同样都是inline呀
<img src="img.jpg" alt="" class="z1"> <img src="img.jpg" alt="" class="z2"> <span class="z1">z11111</span> <span class="z2">z22222</span>
<img src="img.jpg" alt="" class="z1"> <img src="img.jpg" alt="" class="z2"> <span class="z1">z11111</span> <span class="z2">z22222</span>
2020-03-05
举报