61,112
社区成员
发帖
与我相关
我的任务
分享
<!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">
.text {
width: 60px;
height: 30px;
background-color: #3d3;
}
.text .mbox {
position: absolute;
left: 0;
width: 100%;
height: 500px;
background-color: #9f9;
display: none;
}
.text:hover .mbox {
display: block;
}
</style>
</head>
<body>
<div class="text">
菜单
<div class="mbox"></div>
</div>
</body>
</html>