02:17Use this instead of media queries or container queries
From the creator
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: https://youtu.be/OtqZKLdDNXY ✅ Finished version, flexbox example: https://codepen.io/kevinpowell/pen/MWxEjMx ✅ Finished version, grid example: https://codepen.io/kevinpowell/pen/abMLmeO ⌚ 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 in my Discord Community 💬 https://discord.gg/nTYCvrK Keep up to date with everything I'm up to ✉ https://www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! 📺 https://www.twitch.tv/kevinpowellcss --- Help support my channel 👨🎓 Get a course: https://www.kevinpowell.co/courses 👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome 💖 Support me on Patreon: https://www.patreon.com/kevinpowell --- My editor: VS Code - https://code.visualstudio.com/ --- I'm on some other places on the internet too! If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter. Twitte
Published 2024-02-06 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.
Keep exploring Learn to Code
02:17
10:51Competitive Programming Tutorial #42 | Convex hull trick: turn the DP into lines
SyntaxPilot
08:20
04:59IIMT Collaborative Robot Palletizing Programming Tutorial | Easy Pick & Place Stacking
IIMTRobot
09:25
01:59
08:41