.bottom-fixed {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
line-height: normal;
justify-content: flex-end;
align-items: flex-start;
width: 100%;
padding: 3.46667vw 4.26667vw;
border-radius: 0;
background: #fff;
position: fixed;
left: 0;
bottom: 0;
z-index: 2;
}
@media screen and (min-height: 812px) {
.bottom-fixed {
height: 84px;
}
}
只会执行最后一个@media吗?
也不行,@media (max-height:812px){}倒是有效,但是永远只识别最后一排@media
试试这样