How do you approach designing for mobile and desktop screen sizes?

May 12, 2025 6 answers
Asked by ++Soup for Tuesday
I'm curious about how different people manage the challenges of designing for various screen sizes, especially mobile and various desktop resolutions like 1080p, 1440p, and 4K. Everyone seems to have their own methods, but not all of them seem effective. What strategies do you guys use? Are there any specific frameworks or tools you prefer? For instance, do you lean on media queries in CSS, or do you have other tools that help? Do you ever create alternative versions like apps, or just ignore certain display sizes? I'd also like to hear how you handle different desktop sizes. Do you maintain proportional scaling of elements, increase the content displayed, or simply go with the flow?

Answers

free-range
Instead of getting hung up on specific screen sizes, focus on how components behave and adapt in different layouts. Container queries are the future; they allow for more flexibility when depending on available space rather than rigid screen sizes.
Reply to this answer
foam roller
As someone new to this, I usually check different device widths with Chrome's developer tools, and then apply media queries in my CSS. It really helps to see how it looks across devices!
Reply to this answer
bin_7F
I just use Tailwind! It allows for responsive design using sm, md, lg, and xl breakpoints, making it easy to manage screen size variations without worrying too much about edge cases.
Reply to this answer
~tempo112
One approach is to design for the smallest screen size first and then use flexbox to adjust the layout as the screen gets larger. Tools like Tailwind CSS can help you easily manage breakpoints with media queries, and Chrome's developer tools are great for testing different screen sizes.
Reply to this answer
~31 degrees
Personally, I favor using fluid units for layouts instead of targeting specific sizes. Just rely on media queries when necessary, especially if fluid units donโ€™t cut it at certain widths. This method keeps things adaptable, though it may not always be perfect for complex designs.

ApronStrings: Good point! Fluid units work well in simple designs, but when complexity increases, a well-thought-out breakpoint strategy helps designers optimize the use of available screen space.

++Soup for Tuesday: Exactly! Itโ€™s all about balance, right? Knowing when to stick with fluid design and when to introduce breakpoints can really make or break a user experience.

Reply to this answer
fewer assumptions
A standard strategy is to utilize responsive design principles. Start with the layout for mobile (usually the most straightforward), then progressively enhance for larger screens. Media queries are crucial for elements that need to change representation based on screen width.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions