By using some mobile specific pseudo-selector? There are pseudo-selectors for printing, there could be selectors for mobile too.
Not sure, i'm not into web development, i just see using the window width as the wrong way. I keep my window down to that size even when i'm using monitors with larger resolutions (1080p or 1440p), it is a bad idea to assume window width == monitor resolution == device type.
Not sure, i'm not into web development, i just see using the window width as the wrong way. I keep my window down to that size even when i'm using monitors with larger resolutions (1080p or 1440p), it is a bad idea to assume window width == monitor resolution == device type.