css方法 - 移动端h5在iphonex的适配

时间:2023-03-09 03:58:04
css方法 - 移动端h5在iphonex的适配
 @media only screen and (device-width:375px) and (device-height:812px) and (-webkit-device-pixel-ratio:3) {
body:after {
content: '';
z-index:;
position: fixed;
left:;
bottom: -.68rem;
width: 100%;
height: .68rem;
background: #fff
}
}