title: Better way to set distance between flexbox items
body: <p>To set the minimal distance between flexbox items I'm using <code>margin: 0 5px</code> on <code>.item</code> and <code>margin: 0 -5px</code> on container. For me it seems like a hack, but I can't find any better way to do this.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#box {
    display: flex;
    width: 100px;
    margin: 0 -5px;
  }
  
  .item {
    background: gray;
    width: 50px;
    height: 50px;
    margin: 0 5px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id='box'&gt;
    &lt;div class='item'&gt;&lt;/div&gt;
    &lt;div class='item'&gt;&lt;/div&gt;
    &lt;div class='item'&gt;&lt;/div&gt;
    &lt;div class='item'&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>