CSS 实现下拉框

<!DOCTYPE html>

<html>
	<head>
		<title></title>
		<meta charset="utf-8" />
		<style>
			.more{
				background-color: red;
				width: 200px;
			}
			.moreLst{
				display: none;
			}
			.more:hover .moreLst{
				display:block;
			}
		</style>
	</head>
	<body>
		<div class="more">
			<div>更多</div>

			<div class="moreLst">
				<div>11111</div>
				<div>11111</div>
				<div>11111</div>
				<div>11111</div>
				<div>11111</div>
			</div>
		</div>
	</body>
</html>






猜你喜欢

转载自blog.csdn.net/low584710047/article/details/51911902