title: How to auto justify divs in CSS
body: <p>I have a little question about CSS : I would like to do some responsive stuff with divs.</p>
  
  <p>To be more precise, I would like to have a big div containing little divs inside. Those divs may vary in number, but they should all have a fixed size (for example, let's say 250px). So I would like to know if there is a way to make a kind of flex solution, so that divs are always justified, and as soon as the screen is to small to show for example 6 little divs per line, it only shows 5 divs per line.</p>
  
  <p>I am pretty sure, that is not very clear, so here are two draws : </p>
  
  <p><a href="https://i.stack.imgur.com/PXv22.png" rel="nofollow noreferrer">This is the first situation, the div is large enought to have 4 subdivs per line</a></p>
  
  <p><a href="https://i.stack.imgur.com/bsV9V.png" rel="nofollow noreferrer">Then, this div can't display 4 subdivs per line : so it shows 3 subdivs</a></p>