两个绝对定位的 div, 其中一个覆盖另一个
代码:
<div style="position: relative;">
<div style="position: absolute; width: 40px;height: 40px;">
<img src="https://shop378091869.taobao.com/?spm=a1z10.1-c.0.0.qIxRCR">
<a href="https://shop378091869.taobao.com/?spm=a1z10.1-c.0.0.qIxRCR"></a>
</div>
<div style="position: absolute; width: 40px; height: 40px; background-color: #FFFFFF;"></div>
</div>
转载请注明原文地址: https://ju.6miu.com/read-5079.html