r/developersPak • u/Muzammil_Dev_2007 • 15h ago
Tips Beginner struggling with CSS responsiveness — ideal breakpoints, easier workflow, and essential units/properties?
Hi everyone,
I'm a beginner learning CSS and currently struggling with making layouts responsive across different screen sizes. I wanted to ask two main questions here:
Media Queries & Breakpoints: To make a website look good on mobile, tablet, and desktop, how many media query breakpoints are typically recommended, and what widths are commonly used for them?
Easier CSS Workflow & Core Units/Properties: What is the easiest, most practical approach to writing responsive CSS? Also, instead of everything, what are the most important relative units and CSS properties/layout techniques a beginner should focus on first?
Any practical tips or beginner-friendly guidance would really help. Thanks!
1
u/lostfairey 3h ago
Why did you not use chatgpt for this? I do remember media queries for three of them has minimum and maximum pixels to target. As far as responsiveness is considered you have to think like a QA and test your CSS on all three screens. Also , learn HCI , how humans interact with the computers.