@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) { .tit{ //顶部fix定位 加padding,具体数值自测 padding-top: .5rem !important; } .p-iphonex{//列表也需要padding,否则顶栏会遮住 padding-top: .5rem !important; } }
赞
踩
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) { .tit{ //顶部fix定位 加padding,具体数值自测 padding-top: .5rem !important; } .p-iphonex{//列表也需要padding,否则顶栏会遮住 padding-top: .5rem !important; } }
转载于:https://www.cnblogs.com/zzzzzwt/p/8318145.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。