title: Centering two divs in a wrapper
body: <p>I am trying to center <code>#left</code> and <code>#center</code> inside <code>#wrapper</code> like this:</p>
  
  <p><a href="https://i.stack.imgur.com/Rk3NE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rk3NE.png" alt="enter image description here"></a></p>
  
  <p>I am trying to get <code>#center</code> to be in the actual center of <code>#wrapper</code> both horizontally and vertically, and that <code>#left</code> will be in a slight margin to his left. How do I achieve that?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.c {
    border: 1px solid black;
    margin-left: auto;
    margin-right: auto;
    width: 60vw;
    height: 80vh;
    margin-top: 13vh;
  }
  
  #wrapper {
    height: 13vh;
    margin-top: 2vh;
    border: 1px solid blue;
  }
  
  #center {
    display: inline-block;
    width: 12vw;
    height: 10vh;
    border: 1px solid red;
  }
  
  #left {
    display: inline-block;
    width: 13vh;
    height: 13vh;
    border: 1px solid green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="c"&gt;
    &lt;div&gt;content content content&lt;/div&gt;
    &lt;div&gt;content content content&lt;/div&gt;
  
    &lt;div id="wrapper"&gt;
      &lt;div id="left"&gt;left&lt;/div&gt;
      &lt;div id="center"&gt;center&lt;/div&gt;
  
  
    &lt;/div&gt;
    &lt;div&gt;content content content&lt;/div&gt;
    &lt;div&gt;content content content&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Jsfiddle: <a href="https://jsfiddle.net/y6r585jk/2/" rel="nofollow noreferrer">https://jsfiddle.net/y6r585jk/2/</a></p>