移动端页面

1、需要限制body属性{width:100%;max-width:640px;}

2、不能写px要写rem %可以用

3、@media screen and (min-width:320px) and (max-width:321px) {

html { font-size: 62.5%; }
}
媒体屏幕(最小宽度:320px)和(最大宽度:321px){ html {字体大小

 

posted @ 2017-06-22 18:01  Distance&&  阅读(193)  评论(0编辑  收藏  举报