摘要: rem是相对于根元素html的font-size。 1rem = html的font-size 移动端适配通常使用rem。 在开发时,设计稿通常为750px物理像素 ,所以用750设计稿举例对应的iphone6的375px逻辑像素。(物理像素是逻辑像素的2倍) 375 / 7.5 = 50px(37 阅读全文
posted @ 2021-06-25 10:18 javascript9527 阅读(144) 评论(0) 推荐(0) 编辑