代码拉取完成,页面将自动刷新
同步操作将从 铭飞/MCMS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div class="header">
<div class="content">
<div class="logo">
<img src="./zihang1.png" alt="zihang">
</div>
<div class="nav">
<ul class="navFirst">
<li ><a href="">出生</a>
<div class="suv">
<div id="triangle-up"></div>
<ul class="sub_nav">
<li>菜单一</li>
<li>菜单一</li>
<li>菜单一</li>
</ul>
</div>
</li>
<li > <a href="">周年</a></li>
</ul>
</div>
</div>
</div>
<div class="body">
<div class="content">
<div class="left">左边</div>
<div class="right">右边</div>
</div>
</div>
</body>
<style type="text/css">
body{
margin: 0;
padding: 0;
}
a{
text-decoration: none;
color: #FFF;
font-weight: 100;
font-size: 32px;
padding: 0;
margin: 0;
text-shadow: 0 0 10px #639c90, 0 0 20px #6c938f, 0 0 30px #6d7a69;
}
ul{
list-style: none;
}
.body{
width: 1200px;
min-height: 800px;
background-color: #8888bb;
margin: 0 auto;
}
.header{
background-color: #afb959;
height: 80px;
}
.header .content{
width: 1200px;
height: 80px;
margin: 0 auto;
}
.header .content .logo{
width: 200px;
height: 80px;
}
.header .content .logo img{
width: 165px;
}
.header .nav .navFirst{
padding: 0px;
margin: 0 auto;
width: 400px;
height: 80px;
list-style: none;
display: flex;
flex-direction: row;
justify-content: space-around;
line-height: 80px;
}
#triangle-up {
width: 0px;
height: 0px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 10px solid red;
position: relative;
left: 45px;
}
.header .nav > .navFirst> li{
display: flex;
flex-direction: column;
position: relative;
width: 100px;
height: 80px;
background-color: yellow;
text-align: center;
}
.header .nav > .navFirst> li >.suv{
z-index: 100;
position:relative;
list-style: none;
text-align: left;
display: none;
}
.nav .navFirst li:hover .suv{
display: block;
}
.header .nav > .navFirst> li ul{
list-style: none;
background-color: yellow;
text-align: left;
}
.header .nav > .navFirst> li >.suv >ul li{
margin:0px;
padding:0px;
width: 100px;
text-align: left;
margin-left: -40px;
text-align: center;
}
.content{
display: flex;
flex-direction: row;
}
.content .left{
width: 800px;
min-height: 800px;
background-color: #5cb9bb;
}
.content .right{
width: 400px;
min-height: 800px;
background-color: #a3b2bb;
}
</style>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。