3
我们正在尝试专门针对Samsung Galaxy Nexus。它的分辨率为1280 x 720,像素密度为2,因此可以像显示桌面设备一样显示页面。针对高分辨率密度像素设备的媒体查询
我们试图
@media screen and (max-device-width : 720px) and (-webkit-max-device-pixel-ratio : 2) and (portrait) {};
和
@media screen and (max-device-width : 720px) and (-webkit-max-device-pixel-ratio : 2) {};
以及其他各种组合。我们似乎无法专门针对此设备,而不会影响桌面,平板电脑或其他电话布局。
任何帮助,将不胜感激。
是我只是错过屏幕前的“唯一”? – 2012-07-26 17:59:33
这个和'orientation:'在'portrait'之前。 – 2012-07-26 18:02:30
'@media唯一屏幕和(max-device-width:720px)和(-webkit-max-device-pixel-ratio:2)和(orientation:portrait){}'也适用于其他手机(iPhone,HTC难以置信等) – 2012-07-26 18:14:19