body { background-color:#f7f7f7; } .container { width:234px; height:300px; margin:200px auto box-shadow:0 0 1px #ccc; background-color:skyblue; transition:all 1s; } .container:hover { box-shadow:30px 30px 30px #ccc; }