<!DOCTYPE html>
CSS4-布局2-display下拉菜单案例
<style>
.xiala{width:200px;background:#ddd;}
.xiala li div{position:absolute;width:150px;height:150px;background:#999;}
/*下拉菜单代码*/
.xiala li div{display:none;}
.xiala li:hover div{display:block;}
</style>
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
<ul class="xiala">
<li>
<a href="###">下拉菜单</a>
<div>下拉菜单内容</div>
</li>
</ul>
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa