DEV Community

Cover image for Flexbox Cheat Sheets

Flexbox Cheat Sheets

Ali Spittel on August 15, 2019

In our first CSS episode, we discussed the foundations. In this special bonus episode, we continued the conversation by covering some more in-depth...
Collapse
 
zombierobo profile image
Hasmukh Suthar

Great post!! Bug illustration visually explains each of these properties so well. Is there a similar cheat sheet for CSS Grid system ? That would be so helpful especially for someone like me who uses flex box for almost everything.

Collapse
 
emmabostian profile image
Emma Bostian ✨

I can make one if you'd like ;)

Collapse
 
zombierobo profile image
Hasmukh Suthar

Awesome :)) and Thank you, I have learnt so much from you and Ali over the past 1 year. You guys are really helping a lot of people. Keep going :))

Thread Thread
 
popcornthad profile image
popcornthad

+1!

Collapse
 
hassam7 profile image
Hassam Ali

please do! it would be very helpful.

Collapse
 
bmitchinson profile image
Ben Mitchinson

+1 !

Collapse
 
brob profile image
Bryan Robinson

Hey y'all, big fan of the podcast! Really love these cheat sheets you’ve been releasing as well. I did notice that for align-items it mentions flex-start as the default, but it’s my understanding (I went and confirmed here:
developer.mozilla.org/en-US/docs/W...) that ‘stretch’ is the default for flex items. Wanted to let you know! Again, really great stuff and can’t wait to see more like this!

Collapse
 
bstewart profile image
Brayden Stewart

Not to be super corrective, but to future readers the "initial value" of align-items is normal, which behaves similar to flex-start. MDN is kinda confusing because the demo starts with stretch but clearly states the initial value at the bottom of the screen.

Source: developer.mozilla.org/en-US/docs/W...

Collapse
 
donnacamos profile image
Donna Amos

Thanks for making these!<3
I'm visual and it helps to see what each method does.

Would it be possible to make some kind of reference or links on whatever tech or resources ya'll are talking about for all your episodes?

I want to check them all out but I can't remember them all.

Collapse
 
aspittel profile image
Ali Spittel

Hey! I think we have that, check out our show notes! ladybug.dev/episode/css-part-2/

Collapse
 
donnacamos profile image
Donna Amos

Thank you so much! This is exactly what I was needing!

Collapse
 
joeattardi profile image
Joe Attardi

Yes! This is great. I'm constantly looking up the different flexbox properties because I can never remember the differences between justify-content, align-items, etc.

Collapse
 
codingsam profile image
Coding Sam

One of the things that confuses me is the difference between justify-content and align-items.
So simple and so well explained at the same time.
Thank you so much!

Collapse
 
kp profile image
KP

Nice work. This reminds me of flexboxfroggy.com

Collapse
 
garrett profile image
Garrett / G66

You ladies are killing it with the useful cheat sheets!

Collapse
 
thefluxapex profile image
Ian Pride

This is exactly what I've been needing to see. I have been away from web design for years and have been recently brushing up on css and these are perfect examples; simple, but elegant.

Collapse
 
sansseryph profile image
Kyla

Love love LOVE these infographics! I just signed up to listen to your podcasts so I can keep up with y'all!

Collapse
 
jsgoose profile image
Jonathan Sexton

This is awesome!!!

I'm going to print these out to have at work.

Thank you all so much!

Collapse
 
afozbek profile image
Abdullah Furkan Özbek

I did not know that you are on spotify too. From now on I am one of your listeners too 😅

Collapse
 
roblav96 profile image
Robert Laverty

📝Copy paste-able infographics please 👍

Collapse
 
waylonwalker profile image
Waylon Walker

These cheat sheets are amazing!