标签:而且 back code 用户体验 特定 宽度 and log 不为
在可视区域的宽度小于 600px 的时候被应用。
@media screen and (max-width: 600px) {
.class {
background: #0094ff;
}
}
在可视区域的宽度大于600px 的时候被应用。
@media screen and (min-width: 600px) {
.class {
background: red;
}
}
标签:而且 back code 用户体验 特定 宽度 and log 不为
原文地址:http://www.cnblogs.com/lh95/p/6938681.html