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

 1 @media only screen and (device-width:375px) and (device-height:812px) and (-webkit-device-pixel-ratio:3) {
 2  body:after {
 3   content: '';
 4   z-index: 9998;
 5   position: fixed;
 6   left: 0;
 7   bottom: -.68rem;
 8   width: 100%;
 9   height: .68rem;
10   background: #fff
11  }
12 }

 

posted @ 2018-05-10 10:27  xing.org1^  阅读(2821)  评论(0编辑  收藏  举报