Can I put animation/effect on div resize?
<p><strong>Objective</strong>: Animate div on content resize.</p>

<p><strong>Given</strong>: </p>

<ol>
<li>Div height and width are not specified.</li>
<li>Div size depends on content size.</li>
<li>When content size changes, div size also changes (<em>without animation, resizes within 0.5FPS</em>).</li>
</ol>

<p><strong>Question:</strong> How do I apply animation/effect on div when it is dynamically changing size, depending on content?</p>

<p>NOTE: one good example of this is @<a href="http://gmail.com" rel="nofollow">gmail</a> (card resizes on successful next)</p>