Responsive design in CSS is difficult to do well, especially if you only ever use media queries. In this video I share my top 10 responsive design tips that go beyond just using simple media queries.

📚 Materials/References:

PostCSS Video: https://youtu.be/Kn2SKUOaoT4
CSS Grid Video: https://youtu.be/9zBsdzdE4sM
Viewport Units Video: https://youtu.be/5m6JOJLy5B0
Viewport Units Article: https://blog.webdevsimplified.com/2022-08/css-viewport-units

🌎 Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified

⏱️ Timestamps:

00:00 – Introduction
00:39 – Viewport Meta Tag
02:06 – Media Query Orientation
03:15 – Media Query Aspect Ratios
04:00 – Media Query Ranges
05:25 – Container Queries
09:27 – Custom Media Queries
11:09 – Different HTML
12:20 – CSS Grid
16:15 – Clamp
18:00 – Viewport Units

#ResponsiveDesign #WDS #CSS

source

31 Comments

  1. Your advice on duplicated html should 100% include information in the caveats of duplicated content, like how it affects screen readers, honestly, I'd just avoid such advice and it's very nuanced.

  2. Your content is teaching me a lot, on point and well done. I do want to mention that although you later added a note to correct the "siderbar" typo, your tutorial was displaying the red and purple boxes incorrectly. I wrestled with this and could not figure it out until I walked away and later it came to me that your display wasn't matching mine because I didn't have the "siderbar" typo. Without the "siderbar" typo, only the red box displays over 600px because it is in a separate div on the html page. Thanks…; )

Leave A Reply

Please enter your comment!
Please enter your name here