Is there a way to simulate page portrait orientation on a PC browser without resizing the window?
In my HTML code, I have a <div>
element that displays content dynamically based on screen orientation. Is it possible to use JavaScript to trick this <div>
into believing the screen is currently in portrait mode, without having to use developer tools or manually resize the window?