<div class="demo"> </div>
.demo { width: 100px; height: 100px; background-color: #45dc31; border-radius: 0; transition: 1s; } .demo:hover { width: 200px; border-radius: 50%; background-color: red; }