max-widht指展示的最大宽度,一般是浏览器窗口宽度。
max-device-width是指所展示使用的设备支持宽度
查到的是这样的解释的
但我现在不明白的是,这两个都是根据设备的分辨率来的了还是其他的什么了总觉得很混淆
再则说到的max-device-width是屏幕宽度,到底是指分辨率的宽度,还是视口的宽度
如果是指适口的宽度,那max-width和max-device-width不就是指的一个宽度么
两者之间的区别到底是什么了???
天蓬老师2017-04-17 11:16:13
max-width
is the maximum width of the display, but it is not the browser width. You can set max-width very large, beyond the browser window width. max-device-width
is the screen width, usually the width of the resolution.
迷茫2017-04-17 11:16:13
In viewport, there are layout viewport and visible viewport. max-width is to set the maximum width of the layout viewport, and max-device-width is to set the maximum width of the visible viewport.
天蓬老师2017-04-17 11:16:13
Please read this article, it may be helpful.
http://www.adobe.com/cn/devne...