Setting iFrame CSS to display:none during load

前端 未结 5 1127
傲寒
傲寒 2021-01-11 12:46

I have this:

5条回答
  •  半阙折子戏
    2021-01-11 13:08

    No, the iFrame's loading and load detection should not be compromised by setting the display to none.

    CSS is just for style, it has no ability to affect the DOM.

提交回复
热议问题