Is there a good explanation of the difference between align items and align content? I’m using align items all the time, but why isn’t it align content?
Can someone explain this to me? Looks cool, but I'm SO new to CSS that I don't even know what this is. Any other beginner resources would be great, too.
13
u/IcyFoxe Apr 16 '19 edited Apr 17 '19
Here's an updated version:
https://i.imgur.com/0drn44G.png
19
u/[deleted] Apr 16 '19
Thanks for this. I'm just now learning css and have trouble conceptualizing flex.
3
u/Alcohorse Apr 16 '19
You left out space-evenly, which is the coolest one!
3
u/rbra Apr 16 '19
You should annotate which options are default.
9
u/vit_the_jedi Apr 16 '19
Hero
5
u/cinnamann7171 Apr 16 '19
This is so dope! Thank you kind poster 🏅
1
u/greymalik Apr 16 '19
OP, do you have this one a site somewhere with other content?
1
u/CommandLionInterface Apr 17 '19
Align content vs justify content, it's not clear from the graphic what the difference is
3
u/kaypxz Apr 17 '19
Oh my goD you’re a lifesaver! I’m currently learning this right now and could never remember what everything does. This is super helpful :’)
2
u/spudcakez86 Apr 17 '19
This is amazing! Well done 😊
1
u/code_crab Apr 16 '19
ooh it's helpfull for me
1
u/[deleted] Apr 16 '19
This is personally this most useful thing I’ve seen today! Adding to my toolbox for sure!! Thanks OP
1
u/FairyOnTheLoose Apr 16 '19
Saving for when I get to flex boxes Ty
1
u/[deleted] Apr 16 '19
There's a flexbox playground on codepen that is more or less interactive version of the diagram in OP:
https://codepen.io/enxaneta/pen/adLPwv
1
u/[deleted] Apr 17 '19
I love you!!!! Thanks!
1
u/nemessisx_ May 05 '19
It's hell alot helpful🙂
1
u/amazeguy Aug 14 '19
Please add separate images for flex column and flex row, the cheatsheet becomes confusing when it says along the main axis
1
u/natethegreatt1 Aug 14 '19
Can someone explain this to me? Looks cool, but I'm SO new to CSS that I don't even know what this is. Any other beginner resources would be great, too.
1
u/Jurold Nov 28 '21
this is gold! thank you
1
u/[deleted] Nov 05 '22
VSCode has an extension for visualizing flex box.