@rachelandrew I had a div inside of a container that conditionally switched to flex through a media query. Which width made it switch varied on the class of the container. In order to avoid retyping all the flex properties on every media query (including align-content), I just used all of them in a common base outside of media queries, and then just used .container–switch-on-500px { display: flex } or something like that to switch it all on at the same time.