html - 为什么这个网站在较小的设备上不是完整的视口(viewport)宽度?

标签 html ios css viewport

https://high-speed-business-club.com/secure/business-dna-super-profit-secrets/

在缩小的桌面浏览器窗口中它表现正常。但是,在 iOS 设备上,右边有一个缺口。据我所知,它与 .wrapper 和 #wrapper-2 相关联,但是我输入了媒体查询,结果仍然相同。

iPhone 6S display. Elements will not occupy 100% of screen width.

最佳答案

在 CSS 中使用这段代码

.main-content .column, .main-content .box {
width:100%;
}

关于html - 为什么这个网站在较小的设备上不是完整的视口(viewport)宽度?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34891636/

相关文章:

html - Reactjs 热加载器 css 文件

html - 使用 XmlSlurper 时如何查找有问题的行

ios - 单击时无法更改 UItableViewCell 中按钮的图像

ios - AVAudioSession setCategory .allowBluetooth导致崩溃

javascript - jQuery Mobile 中的页面高度不正确

javascript - 设置 knockout 中的下拉值

jquery - 根据具有背景大小封面的内容固定图像大小比例

ios - 如何将数据 View Controller 传递给扩展

html - CSS 似乎找不到类的问题

javascript - 如何在按钮中包含图像或文本?