A Quick Way to Remember the Difference Between `justify-content` and `align-items`
I’m the same as Robin and use to always forget these. My way of remembering which one is which is going back to left align, right align, or justifying text. When you justify text it stretches it across the horizontal axis. Robin’s approach is different, but what ever works for you (and stops the inevitable visit to CSS Tricks to remind yourself
She said that
An excerpt from A Quick Way to Remember the Difference Between `justify-content` and `align-items`justify-content
positions elements across the horizontal axis because the word itself is longer thanalign-items
. At first I thought this was a really silly idea but now this is how I remember it. I even used it five minutes ago