> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/programmy/chrome/toggle-device-mode.md). Agents can also search and read this documentation through its [MCP server](https://ploegert.gitbook.io/til/~gitbook/mcp).

# Toggle Device Mode

Working on some styles? Want to make sure those minor tweaks look good on both desktop and mobile? Your probably moving back and forth between the desktop mode and one of the smaller device modes.

There is a keybinding for this -- `Cmd-Shift-M`

The chrome devtools panel will need to be open and in focus for this to work.
