Setting iFrame CSS to display:none during load

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

I have this:

5条回答
  •  一向
    一向 (楼主)
    2021-01-11 13:17

    As far as I am aware, it should work fine. I've been using hidden iframes to load stuff for a while and haven't had any issues.

    That said I know that some browsers try to be efficient by not loading images that are hidden, so it's possible that some browsers (particularly mobile ones) do the same with iframes.

提交回复
热议问题