@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
时间: 2024-10-09 22:46:57