@media (device-height:480px) and (-webkit-min-device-pixel-ratio:2){ /* 适配iphone4 */
}
@media (device-height:568px) and (-webkit-min-device-pixel-ratio:2){ /* 适配iphone5 */
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* 适配IE10-12 */
}
@media (device-width:375px) and (-webkit-min-device-pixel-ratio:2){ /* 兼容iphone 6 */
.class{}
}
@media (device-width:414px) and (-webkit-min-device-pixel-ratio:3.0){ /* 兼容iphone6 plus */
.class{}
}

标签: none

添加新评论