Reputation: 2523
Is there a way to trick a site to thinking you are accessing it from a mobile device when you are really accessing from a desktop, so it loads the mobile css files?
Upvotes: 3
Views: 764
Reputation: 531
Most popular browsers offer built-in user agent switchers, and also you can find extensions
Chrome: Developer Tools --> click the phone icon in the top left corner of the console's window.
IE and Edge: press F12 --> Emulation
Safari: Preferences --> Advanced --> click the box next to “Show Develop menu in menu bar”. new “Develop” menu will show up select “User Agent”
Firefox: there is an extension called User Agent Switcher for Firefox
Upvotes: 1
Reputation: 3816
A simple way is to resize the browser.
Or you use chrome, open the developer tools (F12 by Windows OS) and click on the "Toggle Device Toolbar" Icon (Ctrl + Shift + M). In this mode you can choose from different devices like Iphone 5, Iphone 6 etc.
Upvotes: 0