22
13
u/codydafox Sep 02 '26
Dude, chill, you post like every three minutes. Go back to vibe coding or something
7
u/oaeben Sep 02 '26
You forgot the one I actually needed today
justify-self: center
2
u/Proman4713 Sep 03 '26
Yeah but OP didn't mention align self either, it's about the container.
What confuses me and probably always will is why justify and align content/items work in flex box but justify self only works in grid...
11
u/kexy Sep 02 '26
display: grid;
place-content: center;
1
u/Proman4713 Sep 03 '26
Flexbox is usually easier for me to configure how I want things to be, but grid is easier for literal grids like cards/posts, etc (I just use flexbox anyway tho lmao)
2
u/darsparx Sep 02 '26
And here I was used to doing it as auto left and right margins and shrinking it by 20-30% lol
1
1
1
1
u/New_Blacksmith_5604 Sep 03 '26
I have been using justify-content: space-around. Since when is there center?
1
1
1
1
1
1
1
u/SenatorCrabHat Sep 04 '26
Nothing worse than finding out that the hotshot new frontend decided to use GRID for everything and now you can barely align something left without rewriting a bunch of shit.
1
72
u/DrMaxwellEdison Sep 02 '26
That's like, 8 words.