移动端的全局css处理加上设置根元素40px的字体大小,设计稿大小除以40px等于对应的rem布局
body,html{height:100%; user-select:none;}html{font-size: 100% !important;}body{-webkit-overflow-scrolling: touch;background:#fafafa;}*{margin:0; padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)...
原创
2020-04-17 09:58:27 ·
554 阅读 ·
0 评论