css - 手机浏览器的兼容问题,微信和其它下载的浏览器打开没有问题,谷歌也测试过,就是手机自带的浏览器有问题。
ringa_lee
ringa_lee 2017-04-17 14:32:11
0
3
736

问题如标题所示:

html{font-size: calc(100vw/10.8);}
.maskvide{position: fixed;width: 100%;height: 100%;z-index: 200; display: none;background: rgba(0,0,0,.3);}
header{height: 1.3rem;background:#033d51;position: fixed; width: 100%;z-index: 101;top:0;}
header .logo{width: 3rem; height: 0.75rem;margin-top:0.29rem;margin-left: 0.4rem;float: left; }
header .tel {width: 0.88rem;height: 0.81rem; float: right;margin-right: 1.56rem;margin-top: 0.27rem;}
.header_box{width: 100%;height: 1.3rem;}

贴出了一部分代码,用的rem还原设计稿做的,手机上的其他浏览器没问题,只有自带的有问题。

ringa_lee
ringa_lee

ringa_lee

全部回覆(3)
PHPzhong

謝邀~

網站是開放的嗎? 黏出來看看
相容性問題.

只是封鎖了font-size

巴扎黑

圖片width設成100%呢

PHPzhong

caniuse.com

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!