代码示例如下:
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css" media="screen">
*{
margin:0;
padding:0;
}
.selectBox{width:242px;height:56px;margin-right:36px;border-radius:4px;display: inline-block;border:1px solid #e8ebef;}
.selectOption{width:200px;position:absolute;display: none;}
.selectKuang{width:242px;height:56px;overflow: hidden;position: relative;z-index:10;}
.selectKuang::before{content: "";position: absolute;top: 25px;right: 20px;z-index:10;width: 0;height: 0;border: 8px solid transparent;border-top: 8px solid #28333f;}
.selectKuang ul{width:100%;padding-top:56px;border-radius: 4px;border-left:1px solid #e6eaee;border-bottom:1px solid #e6eaee;overflow:hidden;}
.selectKuang ul li{height: 56px;text-align:center;line-height: 56px;background:#fff;border-right:1px solid #e6eaee;}
.selectKuang ul li:hover{background:#0ea1d4;col