html - How to prevent Chrome (desktop) from activating portrait orientation with media selector? -
I have defined the following media selector in my CSS file:
@ media screen And - Firefox (on desktop)
- Internet Explorer ( Desktop version of Chrome (v32 in my case) Switching from landscape to portrait when the browser window is fixed The width is changed below.
I was under the impression that desktop browsers were always the scenario ...
Is there any way to stop Chrome from doing so?
The orientation could be determined by height, for the width when the window width height , orientation will be considered as a picture. Forcing you to detect deviceorientation accurately. This demo shows the change of the landscape to portrait by using CSS orientation when the window height is greater than its width
Comments
Post a Comment