117 lines
2.8 KiB
HTML
117 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
<style>
|
|
*{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.nav{
|
|
width: 100%;
|
|
height: 66px;
|
|
vertical-align:middle;
|
|
line-height: 66px;
|
|
background: #f4f5f7;
|
|
font-size: 13px;
|
|
}
|
|
.main{
|
|
width: 938px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.left{
|
|
display: flex;
|
|
}
|
|
.logo{
|
|
width: 132px;
|
|
height: 29px;
|
|
background-color: aqua;
|
|
margin: auto 0;
|
|
margin-right: 20px;
|
|
}
|
|
.menu{
|
|
list-style: none;
|
|
display: inline-flex;
|
|
}
|
|
.menu li{
|
|
margin-right: 27px;
|
|
}
|
|
.search{
|
|
width: 180px;
|
|
height: 28px;
|
|
border-radius: 4px;
|
|
outline: none;
|
|
border: 0px;
|
|
padding-left: 20px;
|
|
margin-left: 1px;
|
|
}
|
|
.right{
|
|
display: flex;
|
|
}
|
|
.msg{
|
|
width: 10px;
|
|
height: 20px;
|
|
background: black;
|
|
margin: auto 0;
|
|
margin-left: 11px;
|
|
margin-right: 11px;
|
|
}
|
|
.photo{
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 60%;
|
|
background: white;
|
|
margin: auto 0;
|
|
margin-right: 11px;
|
|
}
|
|
.searchbox{
|
|
background: #00a4ff;
|
|
height: 32px;
|
|
margin: auto 0;
|
|
line-height:29px;
|
|
margin-right:19px
|
|
}
|
|
.searchbox span{
|
|
|
|
color: white;
|
|
padding:5px 19px;
|
|
|
|
}
|
|
.icon{
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="nav">
|
|
<div class="main">
|
|
<div class="left">
|
|
|
|
<img src="" alt="" class="logo">
|
|
<ul class="menu">
|
|
<li>首页</li>
|
|
<li>课程</li>
|
|
<li>职业规划</li>
|
|
</ul>
|
|
</div>
|
|
<div class="right">
|
|
<div class="searchbox">
|
|
<input type="text" placeholder="输入关键字" class="search">
|
|
<span>搜索</span>
|
|
</div>
|
|
|
|
<p>个人中心</p>
|
|
<div class="msg"></div>
|
|
<div class="photo"></div>
|
|
<p>asd</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |