In Firefox it is possible for me to go to responsive design view by pressing ctrl + shift + m and I can adjust the context area to a size such as 720 * 720
.
How do I do this on IE, Chrome or Safari?
In Firefox it is possible for me to go to responsive design view by pressing ctrl + shift + m and I can adjust the context area to a size such as 720 * 720
.
How do I do this on IE, Chrome or Safari?
The new rewritten dev tools in IE11 will include a feature to allow you to set the resolution and orientation for the browser, for use with testing responsive layouts.
See here for more details.
(note, IE11 hasn't been released yet, but it is in preview if you want to try it out)
In Apple's Safari, your best option for diagnosing responsive views is using the following: -
Open Safari and click Safari > Preferences > Advanced
Enable the "Show Develop Menu in Menu Bar" option and close the preferences dialog
There should now be a Develop menu item at the top of your screen
Click the Develop menu and the option "Enable Resposnive Design Mode" or use the keyboard shortcut [Command] + [Option] + R.
⌥ + ⌘ + R
Here's a javascript tool I use on Safari and Chrome, though I'm not sure how it works in IE; very useful: http://responsive.victorcoulon.fr
There is no such thing in IE. Chrome has something similar when you are in dev tools by clicking on the gear in the right bottom corner as "overrides -> device metrics".
The option in my Chrome (32.0.1700.41 beta-m Aura) is "Overrides" -> "Show 'Emulation' view in console drawer". Then click the "Show console" icon found next to the gear icon.
The easiest way to emulate screen resolutions in Chrome is to dock its Dev Tools to right side (there is the button in right top corner) and then drag its border (and optionally bottom browsers border). Chrome will show current viewport dimensions in its top right corner so you can to, say, 320x480px. It acts very similar to FF Responsive Design View.
First enable "Emulation" by going to Settings (Gear Icon) and check "Show 'Emulation' view in console drawer" Now, close the settings panel, and press Esc and you'll get an Emulation tab. You can do a lot of changes there. Changing the screen size, emulating touch, accelerometer, user-agent spoofing, etc.
If you are getting the warning "chrome screen emulation is not available on this page", (probably you're in Linux, where chrome has disabled some things right now), then you'll need to change a [[chrome://flags][chrome://flags] options follow up this solution
For IE 11, the F12 Developer Tools have a dedicated tab for changing device metrics, etc.
I don't use Safari, so I can't say about it.