abstract:<!DOCTYPE html><html><head> <title>淘寶導(dǎo)航條</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="css/index
<!DOCTYPE html>
<html>
<head>
<title>淘寶導(dǎo)航條</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/font-awesome-4.7.0/css/font-awesome.min.css">
<style type="text/css">
</style>
</head>
<body>
<div class="header">
<div class="header-content">
<div class="header-left">
<a href="" class="header-a">中國大陸  <i class=" fa fa-angle-down"></i></a>
<a href="" style="color:#ff5000;">親,請(qǐng)登錄</a>
<a href="">免費(fèi)注冊(cè)</a>
<a href="">手機(jī)逛淘寶</a>
</div>
<div class="header-right">
<a href="" class="header-a">我的淘寶<i class=" fa fa-angle-down"></i>
<ul>
<li>已買到的寶貝</li>
<li>我的足跡</li>
</ul>
</a>
<a href="" class="header-a"><i class=" fa fa-angle-down" style="color:#ff5000;"></i>  購物車</a>
<a href="" class="header-a"><i class=" fa fa-angle-down"></i>  收藏夾</a>
<a href="" class="header-a">商品分類<i class=" fa fa-angle-down"></i>
<ul>
<li>已買到的寶貝</li>
<li>我的足跡</li>
</ul>
</a>
<a href="" class="header-a">賣家中心<i class=" fa fa-angle-down"></i></a>
<a href="" class="header-a">聯(lián)系客服<i class=" fa fa-angle-down"></i></a>
<a href="" class="header-a" "><span class="fa fa-align-justify" style="color:#ff5000;"></span>網(wǎng)站導(dǎo)航<i class=" fa fa-angle-down" style="color:#ff5000;"></i>
<ul>
<li>已買到的寶貝</li>
<li>我的足跡</li>
</ul>
</a>
</div>
</div>
<div class="clear"></div>
</div>
</body>
</html>
*{margin: 0px; padding: 0px;}
a{text-decoration: none; color: #6c6c6c;font-size: 13px;}
li{list-style: none;}
.clear{clear:both;}
.header{width: 100%;/*height: 40px;*/background-color: #f5f5f5;}
.header-content{width: 1200px;/*height: 40px;*/margin: 0px auto;line-height: 40px;}
.header-left {height: 40px;float: left;}
.header-left a{margin-right: 5px;}
.header-content a:hover{color: #ff5000;}
.header-right{height: 40px;/*width:600px;*//*background-color: pink;*/float: right;}
.header-a{display: inline-block;height: 40px;width: 80px;text-align: center;position: relative;}
.header-a:hover{background-color: #fff;}
.header-a ul{border: 1px solid #f5f5f5;display: none;border-top: none;}
.header-a:hover ul{display: block;position: absolute;width: 100px;}
.header-a:hover ul li:hover{background-color: #f5f5f5;}
.header-a ul li{color: #6c6c6c;height: 30px;line-height: 30px;text-align: left;padding: 0px 3px;margin: 5px 0px;}
需要注意細(xì)節(jié)以及各個(gè)欄塊的寬度把控
Correcting teacher:查無此人Correction time:2019-07-08 09:21:11
Teacher's summary:完成的不錯(cuò)。學(xué)編程,先從模仿開始,繼續(xù)加油。