הבעיה עם מינימום-רוחב: 0

31.7K צפיות 08/02/2024
תכנות,Kevin Powell

דרג סרטון זה

התחבר כדי לדרג

תיאור

After Adam Wathan, and then @t3dotgg both posted and talked about the min-width: 0 thing, I've been getting a lot of questions about what I think about it. Rather than just share my own opinion on it (which we will get into), I saw it as a fun opportunity to dive into how Flexbox works and why this can sometimes solve some strange issues, but also the new issues it can cause as well.

🔗 Links
✅ Adam’s tweet: https://twitter.com/adamwathan/status/17346962450154...
✅ Theo’s video: [https://youtu.be/cH8VbLM1958](https://youtu.be/cH8Vb...
✅ Theo’s tweet: https://twitter.com/t3dotgg/status/1753387896311259296
✅ Looking to up your CSS game? I’ve got free and paid courses 👉 https://kevinpowell.co/courses?utm_campaign=general&...

⌚ Timestamps
00:00 - Introduction
01:48 - What started all this
02:48 - Why things don't always shrink
11:28 - Why this is a good behavior
19:17 - Being intentional with min-width: 0

#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-awe...
💖 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.

Twitter: https://twitter.com/KevinJPowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell

---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

NeTube Bot
פעיל עכשיו