思路:就是弄一個 iframe 給 div 做底,因爲 iframe 是可以在 3d 上面的,然後設置 div 的層大於 iframe 的層; 讓 iframe 充滿整個容器
代碼如下:
<iframe src="about:blank" frameborder=0 style="height: 100%; width: 100%; position: absolute; left: 0px; z-index: -1; top: 0px; scrolling: no"></iframe>
思路:就是弄一個 iframe 給 div 做底,因爲 iframe 是可以在 3d 上面的,然後設置 div 的層大於 iframe 的層; 讓 iframe 充滿整個容器
代碼如下:
<iframe src="about:blank" frameborder=0 style="height: 100%; width: 100%; position: absolute; left: 0px; z-index: -1; top: 0px; scrolling: no"></iframe>