lilelile
@media (device-height:480px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone4/4s */
.class{}
}
@media (device-height:568px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone5 */
.class{}
}
@media(min-device-width:375px)and(max-device-width:667px)and(-webkit-min-device-pixel-ratio:2){
/*iphone6*/
}
@media(min-device-width:414px)and(max-device-width:736px)and(-webkit-min-device-pixel-ratio:3){
/*iphone6plus*/
}

 

分类:

技术点:

相关文章:

  • 2021-10-15
  • 2021-12-08
  • 2021-12-18
  • 2021-10-19
  • 2021-04-16
  • 2021-10-17
  • 2021-09-17
  • 2021-09-16
猜你喜欢
  • 2021-12-20
  • 2021-11-11
  • 2021-10-05
  • 2022-01-07
  • 2021-11-17
  • 2021-08-21
  • 2021-10-26
相关资源
相似解决方案