Use this instead of media queries or container queries

Media queries are a bit limited in how they work, and while container queries go a really long way in solving a lot of those limitations, there are intrinsic patterns that we can follow that allow us to do things that neither one of them can do. The setup is a bit strange and can look complex, but, in my opinion, it’s also 100% worth it! 🔗 Links ✅ Why complex CSS is okay: ✅ Finished version, flexbox example: ✅ Finished version, grid example: ⌚ Timestamps 00:00 - Introduction 01:00 - What we’re going to be creating 01:56 - New merch! 02:22 - Changing flexbox layout based on the width of one of its children 09:30 - The grid solution #css -- Come hang out with other dev’s ... #KevinPowell #Kevin_Powell #css #front-end #frontend #html #web_development #css_tutorial #tutorial #responsive 20240206 LEkFckg7sfw