CSS媒体查询区分iPhone 6、 iPhone8、iPhone8 Plus和iPhoneX
/*iPhone6和iPhone8*/
@media only screen
and (device-width : 375px)
and (device-height : 667px)
and (-webkit-device-pixel-ratio : 2) {
/*code*/
}
/*iPhone6 Plus 和iPhone8 Plus*/
@media...
原创
2019-06-14 17:25:18 ·
4806 阅读 ·
0 评论