flex-basis or width for item size in a flex container?
Can somebody tell me which one should I use and why ?
1 Reply
Kevin's done a video about this https://www.youtube.com/watch?v=jx4FtPlDXJg
Kevin Powell
YouTube
The thing people get wrong about flex-basis
🎓 Dive even deeper with my 4-hour long flexbox course: https://flexboxsimplified.com
Flex-basis is one of those things that people sort of, kind of, maybe understand what it does, and I often see some bad advice, like “flex-basis” is just width for flexbox, when that can actually lead to some unintended consequences, so in this video I break do...