I was talking with a pal the other day and moaning about flexbox for the millionth time because I had momentarily forgotten the difference between the justify-content and align-items properties.
“How do I center an element horizontally with flex again?” I wondered. Well, that was when she gave me what I think is the best shorthand way of remembering how the two work together.
She said that justify-content positions elements across the horizontal axis because the word itself is longer …
The post A Quick Way to Remember the Difference Between `justify-content` and `align-items` appeared first on CSS-Tricks.