我尝试查找媒体查询(Nexus6的纵横比媒体查询)。但是到处都找不到。如果有人能在这件事上帮助我,请让我知道。
我也试着用这个链接(http://andrew.hedges.name/experiments/aspect_ratio/)来创建宽度/高度的比例,但它对我不起作用。
提前谢谢。
发布于 2015-11-11 16:55:31
在https://codereview.stackexchange.com/questions/74915/reducing-media-queries上,有人问了一个半相关的问题,似乎用了这样的话:
/* Motorola Nexus 6 (portrait and landscape) */
@media only screen and (min-device-width : 1440px) and
(max-device-width : 2560px) and (-webkit-min-device-pixel-ratio : 3.5) {
html {
font-size: 200%;
}
}发布于 2016-07-09 03:10:55
因为你想要宽高比,你只需要这样写它的尺寸:@media screen and (device-aspect-ratio: 435/773) { }
https://stackoverflow.com/questions/33095147
复制相似问题