Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

Two simple layouts that work better with Grid

Follow
Kevin Powell

Get your Simple Grid Layout Cheatsheet here: https://simplegridlayout.kevinpowel...

A lot of people use flexbox because it’s simpler than grid, or at least that’s what they tell me. From my experience, there are a lot of simple layouts that are easier with grid, and I look at two of them in this video, and just to prove my point, I compare them to the flexbox equivalent.

Links
✅ Get the Simple Grid Layout Cheatsheet: https://simplegridlayout.kevinpowel...
✅ I love flexbox too, and here is how I decide which to use:    • Flexbox or grid  How to decide?  
✅ Other simple CSS Grid layouts:    • Simplify your CSS with these 3 grid l...  

⌚ Timestamps
00:00 Introduction
00:48 Why people love flexbox
01:47 Custom properties with grid are amazing
04:20 Flexbox’s flexibility makes this type of behavior harder
07:15 When flexbox doesn’t work as easily as you’d expected it to
08:28 Making grid more flexible with autofit
11:20 Trying to replicate the autofit behavior with flexbox

#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/makingt...
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/kevinpowell



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

posted by verovivan5