Hacker News new | past | comments | ask | show | jobs | submit login

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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: