Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force mobile CSS on desktop

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?

like image 269
user4584963 Avatar asked May 15 '26 04:05

user4584963


1 Answers

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

like image 75
Majali Avatar answered May 19 '26 04:05

Majali



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!