<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
*{
padding: 0;
margin: 0;
list-style-type: none;
}
main{
width: 100%;
height:30px;
}
head{
width: 50%;
height:30px;
float:left;
}
head-1{
width: 50%;
height:30px;
margin-left: 80px;
}
nav{
width: 60px;
height:30px;
background:dodgerblue;
}
nav ul{
width: 60px;
height:30px;
}
nav span{
width: 60px;
height:30px;
display:inline-block;
}
nav ul li span{
width: 60px;
height: 30px;
line-height: 30px;
text-align: left;
float: left;
margin: 10px;
}
nav ul li img{
width: 30px;
height: 30px;
margin: 10px;
text-align: center;
}
span{
display: block;
width: 60px;
height: 30px;
line-height: 30px;
text-align: center;
font-size: 12px;
color: #000;
}
</style>
</head>
<body>
<div class="main">
<div class="head" id="con">
<nav>
<span id="id">更多产品</span>
<ul id="id1">
<li>< img src="img/1.png"/><span>糯米</span></li>
<li>< img src="img/2.png"/><span>音乐</span></li>
<li>< img src="img/3.png"/><span>图片</span></li>
<li>< img src="img/4.png"/><span>知道</span></li>
<li>< img src="img/5.png"/><span>文库</span></li>
<li>< img src="img/6.png"/><span>风云榜</span></li>
</ul>
</nav>
</div>
<div class="head-1" id="evc">
</div>
</div>
<script type="text/javascript">
con.onmouseover=function(){
id1.style.display='block'
}
con.onmouseout=function(){
id1.style.display='none'
}
</script>
</body>
</html>
网友评论