css - [iOS、iPhone] html中嵌入iframe,屏幕滑动时候触碰在iframe范围里,则不能再滑动
大家讲道理
大家讲道理 2017-04-18 09:46:02
0
1
1203

p包裹iframe,Android中测试正常,求解决方案,谢谢!

代码如下:

<p>

<iframe frameborder="0" width="310" height="240" src="" allowfullscreen></iframe>

</p>

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
巴扎黑

The width and height cannot be fixed. The width and height of iOS devices are not fixed. Devices 4 inches and below. The width is 320; the 4.7 is 375; the 5.5 is 424 (like).
So it’s best to use percentage, or max-width; like this. certainly. You can also use css response settings.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template