87,916
社区成员
发帖
与我相关
我的任务
分享
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title> 页面名称 </title>
<style type="text/css">
.menu-button {
width: 200px;
height: 30px;
background-color: #66f;
position: relative;
}
.menu-button .menu {
width: 200px;
height: 300px;
background-color: #ccf;
position: absolute;
left: 0;
top: 100%;
display: none;
}
.menu-button:hover .menu {
display: block;
}
</style>
</head>
<body>
<div class="menu-button">
xxxxxxxxxx
<div class="menu">
</div>
</div>
</body>
</html>