.box { width:1000px; height:450px; margin:100px auto; overflow:hidden; } .box div { width:10%; float:left; transition:all 1s; } img { width:960px; cursor:pointer; } .box:hover div { width:5%; } .box div:hover { width:55%; }