2016年4月19日
摘要: devicePixelRatio window.devicePixelRatio是设备上物理像素和逻辑像素的比例。公式表示就是:window.devicePixelRatio = 物理像素 / 逻辑像素 解释 这张图中第一行的「像素」(Points) 就是所谓的「逻辑像素」。 在 iPhone 4 阅读全文
posted @ 2016-04-19 19:51 知春里 阅读(3967) 评论(0) 推荐(0) 编辑