this post was submitted on 07 Aug 2023
466 points (91.9% liked)

Programmer Humor

32503 readers
536 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] FredericChopin_@feddit.uk 22 points 1 year ago (1 children)

I usually just try justify-content, justify-items, align-content, and align-items. Then when it gets centered I remove the rest.

I’m not paid to remember, I’m paid to know it’s possible.

[–] SaintWacko@midwest.social 3 points 1 year ago

Same! I usually open the dev console and just flip through all the options until I find the one that does it