CSS Transition
body { background-color: black; } .box { display: inline-block; height: 200px; width: 200px; background-color: #069; transition: width 500ms, height 1s; } .box:hover { width: 400px; height: 500px; }
<div class="box"> </div>
Página funcionando aqui.