各种屏幕适配媒介查询

小屏幕大致为0-480

中屏幕大致为481-800

大屏幕大致为801-1400

巨屏幕大致为1400-1920+

媒介写法为

 @media screen and (min-width: 801px) and (max-width: 1400px) {
.el-row {
  margin: 0px 8% !important;
}

}
 @media screen and (min-width: 1400px) {
.el-row {
  margin: 0px 20% !important;
}

}

这里只写了中和巨屏幕。

猜你喜欢

转载自blog.csdn.net/qq_32340877/article/details/80185293