兼容iphonex底部那个

@media only screen and (device-width: 375px) and (device-height: 812px) and

(-webkit-device-pixel-ratio: 3) {
.footer_home{
/*padding-bottom:34px;*/
box-sizing:border-box;
bottom:34px;
font-weight:bold;
}
.footer_home:after{
content: '';
z-index: 9998;
position: fixed;
bottom: 0;
width: 100%;
height: 34px;
background: #f7f7f8;
}
.footer_home p{
font-size:12px;

}
}


https://www.cnblogs.com/zhangruiqi/p/7831019.html


posted @ 2018-05-04 21:54  豆豆飞  阅读(1182)  评论(0编辑  收藏  举报