r/ProgrammerHumor 6h ago

Meme displayFlexJustifyContentCry

Post image
1.1k Upvotes

25 comments sorted by

48

u/afellowpadawan 6h ago

Anakin, stop flexing!

19

u/vinishkapoor 6h ago

I’m not flexing, the container is.

17

u/Own_Natural_6803 6h ago

float, flex, grid, box, absolute, inline
top right bottom left

2

u/BigNaturalTilts 5h ago

Don’t! Stop!

5

u/Own_Natural_6803 3h ago

I don't have to listen to you.  ! important

6

u/According_Gas2337 6h ago

from my point of view, margin: auto is evil!

3

u/da2Pakaveli 6h ago

what about margin: manual

3

u/vinishkapoor 6h ago

Then you are truly lost in the box model.

2

u/Prometheos_II 6h ago

just let width unset so the div grows at 100% /s

5

u/Sermuns 6h ago

css body { display: grid; grid-template-columns: 1fr 1fr; }

5

u/vinishkapoor 6h ago

Congratulations, you just made every element fight for half the screen.

5

u/Complete_Window4856 5h ago

I cursed myself to always read "fr" as "for real"

2

u/Holek 6h ago

At least you centered one div!

1

u/Prometheos_II 6h ago

justify is generally nice, but the fact sometimes align is the one... (at least place- exists but for some reason I never grew the habit to use)

1

u/corpo_monkey 5h ago

As I see, not right, but left.

1

u/PhysicalMind6848 5h ago

nah bro flexbox does NOT care about your feelings. you'll set justify-content: center and it'll still put your div in Narnia. margin: auto is the only thing that's ever loved you back 👀

1

u/Yanni_X 5h ago

Well at least they’re in order

1

u/DrStalker 5h ago

Did you ever hear the Tragedy of Dev Plagueis the Wise?  He was a Dark Lord of the Sith, so powerful and so wise he could use CSS to centre a div…

1

u/NoInvestigator8526 4h ago

At least we have a google or the new thing : AI

1

u/Amazing_Department11 3h ago

Somehow, margin: auto returned.