[英]Website HUGE on some mobile browsers
I have this following website: http://woohooo.fortleet.com/ 我有以下网站: http : //woohooo.fortleet.com/
Everything is OK, except the site opens up HUGE on some mobile browsers/devices. 一切正常,但该网站在某些移动浏览器/设备上打开了巨大的显示。 This mainly happens on: 这主要发生在:
Examples: 例子:
I have NO IDEA what could cause this. 我不知道是什么原因造成的。 I don't have any scripts handling the height of elements, all sections are set to be 100vh. 我没有任何处理元素高度的脚本,所有部分都设置为100vh。
Any ideas? 有任何想法吗?
vh
is buggy in many mobile browsers, especially in IOS. 在许多移动浏览器中, vh
都是错误的,尤其是在IOS中。
There is a js library to fix this: https://github.com/rodneyrehm/viewport-units-buggyfill 有一个js库可以解决此问题: https : //github.com/rodneyrehm/viewport-units-buggyfill
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.