在可视区域的宽度小于 600px 的时候被应用。
@media screen and (max-width: 600px) { .class { background: #0094ff; } }
在可视区域的宽度大于600px 的时候被应用。
@media screen and (min-width: 600px) { .class { background: red; } }
响应式布局
原文:http://www.cnblogs.com/lh95/p/6938681.html