While I've come across numerous solutions on Stack Overflow for displaying a desktop version on mobile devices, my inquiry is centered around the idea of forcing a browser to show a mobile version of a website on a desktop computer.
Is there a way to replicate this concept for desktop versions, essentially tricking the browser into using media queries designed for smaller screens? Essentially, I'm looking to load the mobile CSS onto the desktop version of the site.
In simple terms, I am attempting to implement a toggle button that, when activated, renders my webpage as if it were being viewed on a mobile device. While I understand this can be achieved through Chrome's developer tools, I am seeking a solution to build in this functionality permanently and struggling to devise a method for instructing the browser to act as though the viewport size is that of a mobile device.
Any insights would be greatly appreciated!