Re:How to center a div in CSS
by crazygringo on Wednesday February 14, 2024 @02:07PM
(#39373789)
Which is even more confusing because that's not the terminology used in word processors.
Word processors have four modes of alignment -- left, center, right, and justified. Justified means stretching out to both edges.
There's no such thing as justifying content in a particular direction. And justifying something to the center is purely nonsensical.
What I don't remember ever is does flex default to row or column; so I write a lot of unnecessary `flex-direction:row;` but if you are fine with always specifying a direction, the default doesnt really matter either.