* { margin:0; padding:0; } li { list-style:none; float:left; width:120px; height:313px; } .pic1 { background:blue; transition:all 0.3s; } .pic1:hover { width:500px; } .pic2 { background:red; transition:all 0.3s; } .pic2:hover { width:500px; } .pic3 { background:green; transition:all 0.3s; } .pic3:hover { width:500px; }