ul,li { margin:0; padding:0; } #main { width:200px; height:400px; border:1px solid #ccc; } #search_content { max-height:200px; overflow-y:scroll; } #search_list .li-hover { color:#fff; background-color:#1e90ff; } #search_list .li-list { cursor:pointer; }
input代替select下拉框,并可实现模糊查询