In this example, the width is set to 480 and the height is set to 415.Īlternatively, use the width presets bar to set the width with a click to one of the following: Or, enter specific values in the width and height boxes. # Responsive Viewport Modeĭrag the handles to resize the viewport to whatever dimensions you need. # Simulate a mobile viewportĬlick Toggle Device Toolbar to open the UI that enables you to simulate a mobile viewport.īy default, the Device Toolbar opens in viewport with Dimensions set to Responsive. Use Remote Debugging to view, change, debug, and profile a page's code from your laptop or desktop while it actually runs on a mobile device. When in doubt, your best bet is to actually run your page on a mobile device. For example, the architecture of mobile CPUs is very different than the architecture of laptop or desktop CPUs. There are some aspects of mobile devices that DevTools will never be able to simulate. You simulate the mobile user experience from your laptop or desktop. With Device Mode you don't actually run your code on a mobile device. Think of Device Mode as a first-order approximation of how your page looks and feels on a mobile device. Alternatively, you can throttle connection speed in the Network panel.