解决width: 100%;再设置margin问题

2023-08-12
3,221次阅读
没有评论

width: 100%;改成width: calc(100% - 16px);就OK了

.footer_nav{
    width: calc(100% - 16px);
    overflow:hidden;
    margin-bottom:0;
    position:fixed;
    bottom:0;
    background: linear-gradient(to right, rgb(255, 103, 109), rgb(255, 141, 111));
    z-index:3;
    left: 0;
    margin: 0 8px 8px 8px;
    box-sizing: border-box;
}

正文完
要饭中,多少给点吧(支付宝)
post-qrcode
 
评论(没有评论)
验证码