Html
    Css
    Js

    
                        
select {
	padding-left:10px;
	margin-right:10px;
	width:100px;
	height:30px;
	background-color:#333840;
	border-radius:4px;
	color:white;
	border:1px solid#333840;
}
ul {
	float:left;
	list-style:none;
}
ul li {
	float:left;
	color:blue;
	background-color:rgba(25,25,255,.1);
	padding:3px;
	border-radius:4px;
	border:1px solid #1d325d;
	margin-left:4px;
}
ul li:hover {
	background-color:rgba(25,25,255,.2);
}
ul li span {
	cursor:pointer;
}

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

下拉框选值并去重,可删除

0