@media screen and (min-width:768px) and (max-width:991px){ .content{height:680px}.box{top:320px} }@media screen and (min-width:992px) and (max-width:1199px){ //你想change的样式,多个样式直接跟着写即可 }@media screen and (min-width:1200px){ //你想change的样式,多个样式直接跟着写即可 }
这是常用的几个分辨率的样式。记录下
查看更多关于页面根据不同宽度自适应不同样式_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did113433