In Google Chrome version 38+, there's a new black ruler with Device emulation options. Does anyone know how to disable this?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can hide it by toggling the "Device Mode" button. I'm on Chrome 38 on OSX if that matters.
Note that the rulers will still show up if you need to do Device emulation.
This is from the Chrome Developer docs: https://developer.chrome.com/devtools/docs/device-mode
Windows: Ctrl + Shift + M
Mac: Cmd + Shift + M
回答2:
In version 44+:
In the main Dev tool window, click on the kebob menu and then Toggle device Toolbar.