Html
    Css
    Js

    
                        
        .clearfix:after,.clearfix:before {
	content:"";
	display:table;
}
.clearfix:after {
	clear:both;
}
* {
	margin:0;
	padding:0;
}
ol,ul {
	list-style:none;
}
.zk {
	background:green;
	display:block;
	cursor:pointer;
	color:white;
}
.sq {
	background:red;
	cursor:pointer;
	color:white;
	display:none;
}
ul {
	width:400px;
	height:200px;
	overflow:hidden;
}
li {
	float:left;
	width:80px;
	height:80px;
	margin-bottom:20px;
	margin-right:20px;
	background:#999999
}

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

jQuery列表分多次展开

0