After searching through various questions, none of the answers provided a solution that worked for my specific situation.
Within my project, I have a series of divs, each with a fixed width of 210px.
The container holding these divs is able to resize based on the user's screen size. It is crucial that the divs maintain even spacing horizontally and wrap onto a new line if necessary.
For a visual representation, please see the diagram linked below: https://i.sstatic.net/KUJrJ.jpg
While this JS fiddle demonstrates the desired outcome, I am unsure how to adapt it for divs with fixed widths.
width: calc(100% / 6);
EDIT:
The issue with the JS Fiddle arises when the screen size has space, but not enough to accommodate another div. At this point, the last div should align closer to the right side.