CSS媒体查询中的宽度和设备宽度之间的差异 [英] Difference between width and device-width in CSS media queries
本文介绍了CSS媒体查询中的宽度和设备宽度之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
高度和宽度以及设备宽度和设备高度之间有什么区别(简单来说)?
What is the difference (in simple terms) between height and width and device-width and device-height?
推荐答案
device-width
是...
输出设备的宽度整个屏幕或页面,而不仅仅是呈现区域,例如文档窗口)。
width of the output device (meaning the entire screen or page, rather than just the rendering area, such as the document window).
来源。
width code> ...
The width
...
描述输出设备的呈现表面的宽度(例如文档窗口的宽度,或打印机上的页框宽度)
describes the width of the rendering surface of the output device (such as the width of the document window, or the width of the page box on a printer)
源。
这篇关于CSS媒体查询中的宽度和设备宽度之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文