<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
.one a{
position: relative;
z-index: 2;
}
.one ul{
display: none;
position: absolute;
border:1px solid #ccc;
z-index: 1;
margin:0;
padding:0;
background:white;
}
.one:hover ul{
display: block;
}
</style>
</head>
<body>
<div class="one">
<a href="##">我</a>
<ul>
<li>他</li>
<li>是</li>
<li>谁</li>
<li>呢</li>
</ul>
</div>
</body>
制作简单的二级导航
最新推荐文章于 2024-07-24 14:22:29 发布