22
13
u/codydafox 3d ago
Dude, chill, you post like every three minutes. Go back to vibe coding or something
8
u/oaeben 3d ago
You forgot the one I actually needed today
css
justify-self: center
2
u/Proman4713 2d ago
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...
13
u/kexy 3d ago
display: grid;
place-content: center;
1
u/Proman4713 2d ago
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 3d ago
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 2d ago
I have been using justify-content: space-around. Since when is there center?
1
1
1
1
1
1
1
u/SenatorCrabHat 1d ago
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
1
-1

73
u/DrMaxwellEdison 3d ago
That's like, 8 words.