CSS媒体查询中的宽高比和设备宽高比之间的差异 [英] Difference between aspect-ratio and device-aspect-ratio in CSS media queries

查看:95
本文介绍了CSS媒体查询中的宽高比和设备宽高比之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

aspect-ratio device-aspect-ratio 之间的简单术语有什么区别?

What is the difference in simple terms between aspect-ratio and device-aspect-ratio?

推荐答案

aspect-ratio



aspect-ratio


描述输出设备的目标显示区域的宽高比。此值由两个用斜杠(/)字符分隔的正整数组成。这代表水平像素数与垂直像素数的比值。

Describes the aspect ratio of the targeted display area of the output device. This value consists of two positive integers separated by a slash ("/") character. This represents the number of horizontal pixels over the number of vertical pixels.

来源


描述输出设备的宽高比。此值由两个用斜杠(/)字符分隔的正整数组成。这代表水平像素数与垂直像素数的比值。

Describes the aspect ratio of the output device. This value consists of two positive integers separated by a slash ("/") character. This represents the number of horizontal pixels over the number of vertical pixels.

来源

这篇关于CSS媒体查询中的宽高比和设备宽高比之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆