简体   繁体   English

iPhone 5获取平板电脑媒体查询

[英]iPhone 5 picking up tablet media query

For some reason, my iPhone is picking up styles within the followind media query: 由于某种原因,我的iPhone在followind媒体查询中选择了样式:

@media screen and (min-width: 481px) and (max-width: 900px)

Does anyone know why this might be? 有谁知道为什么会这样吗?

The iPhone5 Screen is larger than 900px(It's 1136) iPhone5屏幕大于900px(为1136)

Took this from another Question: 来自另一个问题:

Pre iPhone 5: '@media screen and (device-aspect-ratio: 2/3) {}' iPhone 5之前的版本:“ @ media屏幕和(device-aspect-ratio:2/3){}”

iPhone 5: '@media screen and (device-aspect-ratio: 40/71) {}' iPhone 5:“ @ media屏幕和(device-aspect-ratio:40/71){}”

iPad: '@media screen and (device-aspect-ratio: 3/4) {}' iPad:“ @ media屏幕和(device-aspect-ratio:3/4){}”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM