<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
*{
margin:0px;
padding: 0px;
}
#one{
}
#one li{
width: 50px;
height: 30px;
border:1px solid black;
text-align: center;
list-style: none;
float: left;
line-height: 30px;
}
#two li{
width: 50px;
height: 30px;
border:1px solid black;
list-style: none;
line-height: 30px;
text-align: center;
/*clear: both;*/
}
#two{
position: absolute;
top: 30px;
}
.select{
background: rgb(0,200,0);
}
</style>
</head>
<body>
<ul id="one"></ul>
<ul id="two"></ul>
<script type="text/javascript">
JavaScript——下拉菜单实现
最新推荐文章于 2022-04-24 15:35:38 发布