.a {height: 100px; background: red; transition: all 0.5s;}
.b {height: 500px;}