title: Margin collapse on inline-block elements?
body: <p>Margins of blocks elements collapse, but not inline-blocks.<br>
  Is there a way to force inline-blocks margins to collapse?<br></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>.wrapper {
      position: relative;
      float: left;
      width: 100px;
      margin: 10px;
  }
  
  .wrapper .el {
      display: inline-block;
      width: 100%;
      height: 20px;
      background: #000;
      margin: 10px 0;
  }
  
  .wrapper.block .el { display: block; }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
      &lt;div class="el"&gt;&lt;/div&gt;
      &lt;div class="el"&gt;&lt;/div&gt;
      &lt;div class="el"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="wrapper block"&gt;
      &lt;div class="el"&gt;&lt;/div&gt;
      &lt;div class="el"&gt;&lt;/div&gt;
      &lt;div class="el"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Anyone have an idea?<br>
  I have already read the documentation on <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin_collapsing" rel="noreferrer">MDN</a>.</p>