仿淘宝顶部导航
D调肥仔2019-01-17 17:35:34229<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>淘宝导航</title>
<style>
*{ margin:0px; padding:0px;}
a{ text-decoration:none; color:#000; font-size:13px;}
.clear{ clear:both;}
.header{width:100%; background-color:#f5f5f5;}
.header_content{ width:1200px; 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{ width:600px; height:40px; float:right;}
.header_a{ display:inline-block; height:40px; width:90px; text-align:center;}
.header_a:hover{ background-color:#FFF;}
</style>
<link rel="stylesheet" type="text/css" href="font-awesome-4.7.0/css/font-awesome.css">
</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;">亲,请登录</a>
<a href="">免费注册</a>
<a href="">手机逛淘宝</a>
</div>
<div class="header_right">
<a href="" class="header_a">我的淘宝 <i class=" fa fa-angle-down"></i></a>
<a href=""><span class="fa fa-cart-plus"></span> 购物车</a>
<a href="" class="header_a"><span class="fa fa-star"></span> 收藏夹 <i class=" fa fa-angle-down"></i></a>
<a href="">商品分类</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></a>
<a href="" class="header_a">网站导航 <i class=" fa fa-angle-down"></i></a>
</div>
</div>
<div class="clear"></div>
</div>
</body>
</html>