Re:Mobile-First CSS: Is It Time for a Rethink?
by grishka on Monday June 20, 2022 @03:51PM
(#31814909)
For example, in my project, I have these two layouts, desktop and mobile: https://imgur.com/a/Jj7XcCO
They maybe can be done with the same markup, but it'd be much more work and some duplication, too. And of course it's absolutely unacceptable to redesign your UIs to make it easier to reuse markup — remember, developer experience doesn't matter if the end result is shit.
I’ve challenged this on HN before, but I’ll take a different approach. Can you describe a scenario where these fundamentally can’t be achieved with the same markup? I’ve never encountered one, in over a decade of developing responsive apps and sites.