Html
    Css
    Js
* {
	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;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

css3手风琴

0