所有台式机/笔记本电脑显示器的方向是否类似于iPad等设备上的横向方向? [英] Are all desktop/laptop monitor's orientation similar to landscape orientation on devices like the iPad?
问题描述
所有台式机/笔记本电脑显示器的方向是否类似iPad等设备上的横向方向?
Are all desktop/laptop monitor's orientation similar to landscape orientation on devices like the iPad?
有什么区别吗?
body {background:red}
@media only screen and (orientation : landscape) {
body {background:blue}
}
推荐答案
所有台式机/笔记本电脑显示器的方向是否类似iPad等设备上的横向方向?
Are all Desktop/laptop Monitor's orientation similar to Landscape orientation on devices like iPad?
方向
是基于窗口的宽度和高度。
是当窗口宽度大于窗口高度时是当窗口宽度大于窗口高度时。
Landscape Mode is when the window width is larger than window height.
您可以使用您的示例查看此信息: http:// jsfiddle .net / tw16 / EaHhU /
调整结果窗口的宽度以匹配上述情况,您将看到颜色变化。
You can see this using your example: http://jsfiddle.net/tw16/EaHhU/
Adjust the width of the results window to match the above scenarios and you will see the colour change.
桌面浏览器支持:Firefox 3.5+,Google Chrome 5+,Opera 10.6+,Safari 4 +
Desktop Browser Support: Firefox 3.5+, Google Chrome 5+, Opera 10.6+, Safari 4+
移动浏览器支持:Android 2+,iOS4, 。
Mobile Browser Support: Android 2+, iOS4, Mobile Firefox.
这篇关于所有台式机/笔记本电脑显示器的方向是否类似于iPad等设备上的横向方向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!