I'm running into a problem with flexbox.
I have a div that has a max-width of 920px. I want the boxes of content to fill up the div from left to right to the max possible width, with everything having equal margins. When the screen-size goes down to one box per row, I want that box to be centered on the screen.
Here is the site in action: http://javinladish.com/code/index.html
If I use:
justify-content: center;
Then the boxes don't fill up the max width.
If I use:
justify-content: space-between;
Then the boxes don't stay centered when I go down to one box per row.
How can I achieve a happy balance between the two? I.e filling up the max width of the container, and keeping all content centered?