#a { width:100px; height:100px; background:red; margin:100px; transition:all 1s ease-out; } #a:hover { transform:scale(2); }