根据屏幕自适应宽度:@media

@media screen and (min-width: 1490px){
.w1224{
width: 1400px !important;
}
}
@media screen and (max-width: 1489px){
.w1224{
width: 1200px !important;
}
}

猜你喜欢

转载自www.cnblogs.com/shark1100913/p/9206300.html