Hacker News new | ask | show | jobs
by Scarbutt 3580 days ago
What's the norm if you need a desktop and mobile version of a webpage, to have one separate code base for each one(can be on the same repo) or all the code together with the appropriate screen size detections?
2 comments

Responsive design is the norm so I guess the answer to your question is "all the code together"
I think the question is who is your target customer. If you are building a website that focus on mobile user, it's no need to design and test for desktop.

In this case Mobi.css is a choice. You can show a QRCode to guide people to mobile.