title: Resize the container after a scale in CSS
body: <p>I have the page below and I expect to have the exact same result for both containers but it seems than <code>#container1</code> is not resized after the scale in CSS. Is there a way to resize it, preferably in CSS only?</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>body {
    background: #ccc;
    padding: 20px;
  }
  
  #scaleable1 {
    transform-origin: left top;
    background: white;
    transform: scale(0.5);
    height: 100px;
    width: 400px;
    font-size: 14px;
  }
  
  #container1 {
    background: #666;
  }
  
  #scaleable2 {
    background: white;
    height: 50px;
    width: 200px;
    font-size: 7px;
  }
  
  #container2 {
    position: relative;
    background: #666;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="container1"&gt;
    &lt;div id="scaleable1"&gt;
      &lt;h1&gt;Something&lt;/h1&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div id="container2"&gt;
    &lt;div id="scaleable2"&gt;
      &lt;h1&gt;Something&lt;/h1&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>