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

Programmer Humor

32716 readers
310 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
[–] [email protected] 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.

[–] [email protected] 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