In Figure 2, the width is set to 628 and the height is set to 662.įigure 2. 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 Responsive Viewport Mode. 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. Use Device Mode to approximate how your page looks and performs on a mobile device.ĭevice Mode is the name for the loose collection of features in Chrome DevTools that help you simulate mobile devices.