判断Safari浏览器下是否为双倍视网膜
@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (max-moz-device-pixel-ratio: 2) {
...
}
<meta name = "viewport" content = "width = device-width, user-scalable = no"> 如果为NO,Safari放大后无法缩小!
判断Safari浏览器下是否为双倍视网膜
@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (max-moz-device-pixel-ratio: 2) {
...
}
<meta name = "viewport" content = "width = device-width, user-scalable = no"> 如果为NO,Safari放大后无法缩小!