JS 获取浏览器显示比例,缩放比例
摘要:function getDetectZoom (){ let ratio = 0, screen = window.screen, ua = navigator.userAgent.toLowerCase(); if (window.devicePixelRatio !== undefined) {
阅读全文
posted @ 2020-12-16 17:30
posted @ 2020-12-16 17:30
posted @ 2018-07-03 09:03
posted @ 2018-03-09 17:35
posted @ 2018-03-09 17:29