/*iPhone5和iPhone SE*/
@media only screen and (device-width : 320px) and (device-height : 504px) and (-webkit-device-pixel-ratio : 2) {
.uploadContainer{
background-color: pink;
}
}
@media only screen and (device-width : 320px) and (device-height : 568px) and (-webkit-device-pixel-ratio : 2) {
.uploadContainer{
background-color: greenyellow;
}
}
/* iPhone6/7/8 */
@media only screen and (device-width : 375px) and (device-height : 603px) and (-webkit-device-pixel-ratio : 2) {
.uploadContainer{
background-color: green;
}
}
/* iPhone6/7/8 plus*/
@media only screen and (device-width : 414px) and (device-height : 672px) and (-webkit-device-pixel-ratio : 3) {
.
小程序的各种手机屏幕媒体查询
最新推荐文章于 2024-05-08 02:20:47 发布