Fork me on GitHub
摘要: 定义window.devicePixelRatio是设备上物理像素和设备独立像素(device-independent pixels (dips))的比例。公式表示就是:window.devicePixelRatio = 物理像素 / dips 理解移动端的设备多种多样,不同的设备又有不同的分辨率, 阅读全文
posted @ 2022-02-25 10:55 思考的大腿 阅读(1432) 评论(0) 推荐(0) 编辑