Html
    Css
    Js
.down {
	width:64px;
	height:20px;
}
.down a {
	text-decoration:none;
	color:#000;
	display:inline-block;
}
.down>a {
	border:1px solid #000;
	padding:6px 12px;
}
.down-menu {
	width:200px;
	list-style:none;
	margin:0;
	padding:0;
	border:1px solid #aaa;
	box-shadow:5px 5px 6px #000;
}
.down-menu a {
	padding:6px 20px;
	width:160px
}
.down-menu li:hover {
	background:#ddd
}

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

jquery下拉菜单

0