<div></div> <div></div>
div{ width: 100px; height: 100px; background-color: #bf103c; margin:10px; float: left; transform: translate(-15px,90px) scale(2); transform-origin: 0 100%; transition: all 1s ease; } div:hover{ background-color: #444444; transform: translate(-15px,0px) scale(1) rotate(20deg); }