title: Make CSS height goes up instead of down
body: <p>I got this piece of code:</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-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;style&gt;
  div {
   background: black;
      height: 50px;
      width: 50px;
      float: left;
      transition: height 0.3s, background 0.5s;
  }
  div:hover {
   margin-top: 0;
   height: 450px;
      background: white;
  }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When you hover onto onto one of the <code>&lt;div&gt;</code>, it's height will be change. Is there any way to make the height goes up instead of down?(The <code>&lt;div&gt;</code> begin at the bottom). Thanks!!!</p>