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?
6 Answers
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.
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.
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.
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.
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.
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!
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.

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.