CSS媒体查询中的宽高比和设备宽高比之间的差异 [英] Difference between aspect-ratio and device-aspect-ratio in CSS media queries
问题描述
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屋!