@KevinPowell
  @KevinPowell
Kevin Powell | The easy way to understand flexbox alignment @KevinPowell | Uploaded September 2024 | Updated October 2024, 1 hour ago.
Looking to get a very deep understanding of flexbox? Check out Flexbox Simplified: flexboxsimplified.com

It's easy to mix up justify-content and align-items, and also, why don't we have a justify-self? In this video I take a look at some tricks to remembering the difference between the two of them, and better understanding why they work a little differently from one another.

πŸ”— Links
βœ… Flexbox Simplified: flexboxsimplified.com

Join my channel to get access to perks:
youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw/join

⌚ Timestamps
00:00 - Introduction
00:25 - Using your devtools to play with different options
02:30 - The main and cross-axis
03:13 - The main axis has to focus on groups of content and the cross axis on individual items
06:45 - Changing the flex-direction
08:20 - align-content and flex-wrap
12:10 - You can use margins when you want justify-self

#css

--

Come hang out with other dev's in my Discord Community
πŸ’¬ discord.gg/nTYCvrK

Keep up to date with everything I'm up to
βœ‰ kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
πŸ“Ί twitch.tv/kevinpowellcss

---

Help support my channel
πŸ‘¨β€πŸŽ“ Get a course: kevinpowell.co/courses
πŸ‘• Buy a shirt: teespring.com/stores/making-the-internet-awesome
πŸ“½οΈ Join as a channel member: youtube.com/@KevinPowell/join
πŸ’– Support me on Patreon: patreon.com/kevinpowell or through YT memberships: Join this channel to get access to perks:
youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw/join

---

My editor: VS Code - 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: twitter.com/KevinJPowell
Codepen: codepen.io/kevinpowell
Github: 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!
The easy way to understand flexbox alignmentI have a podcast (and second channel!)CSS animation trick with rotated items5 useful resources for front-end devs - part 2Stop the Flexbox for 1D, Grid for 2D layout nonsenseCSS animation keyframe tipsWe can now transition to and from display: noneTaking on HTML & CSS challengesSimplify your code with this underused pseudo-classMost people have no idea you can style underlines like thisA practical guide to responsive web designHow I find and debug issues in my CSS

The easy way to understand flexbox alignment @KevinPowell

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER