Simulate device orientation
To simulate different device orientations from Chrome DevTools:
Press Command+Shift+P (Mac) or Control+Shift+P (Windows, Linux, Chrome OS) to open the Command Menu.
Figure 1. The Command Menu
sensors, select Show Sensors, and press Enter. The Sensors tab opens up at the bottom of your DevTools window.
From the Orientation list select one of the preset orientations, like Portrait upside down, or select Custom orientation to provide your own exact orientation.
Figure 2. Selecting Portrait upside down from the Orientation list
You can also set a custom orientation by dragging the Orientation Model. Hold Shift before dragging to rotate along the alpha axis.
Figure 3. The Orientation Model