Responsive Design Mode (before Firefox 52)

This page describes Responsive Design Mode as it appears before Firefox 52. You may also see this version of Responsive Design Mode in Firefox 52 and later if multi-process support (e10s) is disabled. To see what it's like from Firefox 52 onwards, see Responsive Design Mode.

Responsive designs adapt to different screen sizes to provide a presentation that is suitable for different kinds of devices, such as mobile phones or tablets. Responsive Design Mode makes it easy to see how your website or web app will look on different screen sizes.

The screenshot below shows a page on the mobile version of Wikipedia viewed with a 320 by 480 content area.

Responsive Design Mode is convenient because you can quickly and precisely change the size of the content area.

Of course, you could just resize the browser window: but making the browser window smaller makes all your other tabs smaller too, and can make the browser's interface much harder to use.

While Responsive Design Mode is enabled, you can continue browsing as you normally would in the resized content area.

Enabling and disabling

There are three ways to enable Responsive Design Mode:

  • Select "Responsive Design View" from the Web Developer submenu in the Firefox Menu (or Tools menu if you display the menu bar or are on OS X)
  • Press the "Responsive Design View" button in the Toolbox's toolbar
  • Press Ctrl + Shift + M, (or Cmd + Opt + M on OS X)

and three ways to switch off Responsive Design Mode:

  • Select the "Responsive Design View" menu item again
  • Click the "close" button in the top-left corner of the window
  • Press Ctrl + Shift + M, (or Cmd + Opt + M on OS X). Prior to Firefox 34, Escape would also close Responsive Design View.

Resizing

You can resize the content area in one of two ways:

  • using the "Select size" control
  • clicking and dragging on the controls on the right and bottom sides of the content area, or in the bottom-right corner

If you resize using click-and-drag you can hold down the Control key (Cmd on Max OS X) to slow down the speed at which the area resizes. This makes it easier to set the size precisely.

Responsive Design Mode controls

Along the top of the window in which Responsive Design Mode displays the page, there are five controls:

Close
Close Responsive Design Mode and return to normal browsing.
Select size
Choose from a number of preset width x height combinations, or define your own.
Orientation
Switch the screen between portrait and landscape view.
Simulate touch events
Enable/disable touch event simulation: while touch event simulation is enabled, mouse events are translated into touch events.
Screenshot
Take a screenshot of the content area. Screenshots are saved to Firefox's default download location.
Set custom User Agent
New in Firefox 47. Enter a User Agent string here and navigate out of the box. The box gets a blue highlight to indicate that the entered UA string is now being used. Firefox will now include the given UA string in requests made from the current tab only. This is useful for sites that serve different content to browsers based on UA sniffing. Select and delete the string to return to normal.

 

Document Tags and Contributors

 Contributors to this page: jryans, wbamberg
 Last updated by: jryans,