Flexbox or grid - How to decide?
YouTube Viewers YouTube Viewers
900K subscribers
685,846 views
0

 Published On Jan 18, 2022

Flexbox and grid are two fantastic layout tools. It can be hard to know which one to pick, but when you focus on the strengths of each one, it becomes a lot easier.

đź”— Links
✅ The easiest way to get started with Grid:    • Learn CSS Grid the easy way  
✅ The easiest way to get started with Flexbox:    • Learn flexbox the easy way  
✅ Using the Grid inspector:    • The grid inspector: making grid easy ...  
✅ Why I love grid-template-areas:    • Why CSS grid-area is the best propert...  

⌚ Timestamps
00:00 - Introduction
01:13 - Comparing their behaviors
09:54 - When you should use flexbox
13:40 - When you should use grid
17:23 - Mixing flexbox and grid

#css

--

Come hang out with other dev's in my Discord Community
💬   / discord  

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!
📺   / kevinpowellcss  

---

Help support my channel
👨‍🎓 Get a course: https://www.kevinpowell.co/courses
đź‘• Buy a shirt: https://teespring.com/stores/making-t...
💖 Support me on Patreon:   / 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:   / 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!

show more

Share/Embed