How to move a div after another using animations
<p>I'm currently moving a <code>div</code> from one location to another, but I want to do it with some animations. Just have it slide to place and push the other <code>divs</code> down. How would I go about doing this?</p>

<p>Here is what I have so far.</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-js lang-js prettyprint-override"><code>var row = $('&lt;div class="row"&gt;Another row inserted&lt;/div&gt;');
$('.container').append(row);

$('.button').click(function() {
 $('.row').addClass('row-changed');
 $('.container &gt; div:nth-child(2)').after(row);
});</code></pre>
<pre class="snippet-code-css lang-css prettyprint-override"><code>.row {
  color: blue;
}
.row-changed {
  color: red;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
&lt;div class='container'&gt;
  &lt;button class='button'&gt;Move&lt;/button&gt;
  &lt;div class='row'&gt;Row here&lt;/div&gt;
  &lt;div class='row'&gt;Row here&lt;/div&gt;
  &lt;div class='row'&gt;Row here&lt;/div&gt;
  &lt;div class='row'&gt;Row here&lt;/div&gt;
  &lt;div class='row'&gt;Row here&lt;/div&gt;
&lt;/div&gt;</code></pre>
</div>
</div>
</p>