备注下写法
@media screen and (min-width: 1200px) {
.container {
width: 1127px;
margin-left: auto !important;
margin-right: auto !important;
}
}
@media screen and (min-width: 922px) and (max-width:1199px) {
.container {
width: 933px;
margin-left: auto !important;
margin-right: auto !important;
}
}
@media screen and (min-width: 768px) and (max-width:922px) {
.container {
width: 723px;
margin-left: auto !important;
margin-right: auto !important;
}
}
@media screen and (max-width: 768px) {
.container {
width: 100%;
padding: 0px 10px 0 10px !important;
box-sizing: border-box;
}
}
网友评论