iOS设备@Media适配
iPhone 6Plus
@media screen and (device-width:414px) and (-webkit-min-device-pixel-ratio:3.0)
{
// your css
}
iPhone 6
@media screen and (device-width:375px) and (-webkit-min-device-pixel-ratio:2.0)
{
// your css
}
iPhone 5/5s
@media screen and (device-width:320px) and (-webkit-min-device-pixel-ratio:1.0)
{
// your css
}
iPad air/mini
@media screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio:1.0) {
// your css
}
@media screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio:2.0) {
// your css
}