伪造最大设备宽度 [英] Faking max-device-width
问题描述
要实现移动网站这将是最大设置设备宽度在我的浏览器非常有用。
我知道插件伪造的用户代理。它,这也可能使最大的设备宽度?
我想preFER使用常规浏览器如Firefox,IE,歌剧,而是......各种手机浏览器模拟器,甚至不同的智能手机中。
To implement mobile website it would be useful to set max-device-width in my browser. I know plugins to fake the user-agent. It this also possible for the max-device-width? I would prefer to use a regular browser like Firefox, IE, Opera, ... instead of all kind of mobile browser emulators or even different smartphones.
谢谢,
罗波
推荐答案
Chrome浏览器允许您设置设备的指标,这是在媒体查询计算设备宽度使用。要做到这一点,开放的开发工具,点击右下角的齿轮图标,并转到覆盖标签。
Chrome allows you to set device metrics, which are used in the media queries calculation for device width. To do that, open Developer Tools, click the gear icon on the lower right corner, and go to the Overrides tab.
修改2014年1月17日:Chrome浏览器现在有一个仿真选项卡,可以一起控制台可以发现,开发者工具
Edit Jan. 17, 2014: Chrome now has an Emulation tab, that can be found alongside Console, in Developer Tools.
这篇关于伪造最大设备宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!