亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

css3 - 問一下max-width和max-device-width有什么區(qū)別啊
怪我咯
怪我咯 2017-04-17 11:14:13
0
3
1229

max-widht指展示的最大寬度,一般是瀏覽器窗口寬度。
max-device-width是指所展示使用的設(shè)備支持寬度
查到的是這樣的解釋的
但我現(xiàn)在不明白的是,這兩個都是根據(jù)設(shè)備的分辨率來的了還是其他的什么了總覺得很混淆
再則說到的max-device-width是屏幕寬度,到底是指分辨率的寬度,還是視口的寬度
如果是指適口的寬度,那max-width和max-device-width不就是指的一個寬度么
兩者之間的區(qū)別到底是什么了???

怪我咯
怪我咯

走同樣的路,發(fā)現(xiàn)不同的人生

reply all(3)
Peter_Zhu

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.

迷茫

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.

Peter_Zhu

Please read this article, it may be helpful.
http://www.adobe.com/cn/devne...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template