* { margin:0; padding:0; outline:0; } .wrapBox { width:800px; margin:100px auto; font-size:16px; height:auto; } #sel1,#sel2 { position:relative; width:300px; float:left; height:36px; } .selsInput { width:200px; height:34px; line-height:34px; padding:0 10px; border:1px solid #e5e5e5; font-size:16px; color:#666; } .lists { position:absolute; left:40px; top:35px; width:220px; border:1px solid #e5e5e5; display:none; } .lists p { padding-left:10px; font-size:14px; height:30px; line-height:30px; border-bottom:1px solid #e5e5e5; } .lists p:hover { background:#fb9b00; color:#fff; } .lists p.last { border-bottom:none; }