css淘宝导航栏

原创 2018-11-20 19:01:07 212
摘要:<!DOCTYPE html><html><head><meta charset="UTF-8"><title>淘宝导航</title><link rel="stylesheet" type="text/css" href="css/index.css

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>淘宝导航</title>

<link rel="stylesheet" type="text/css" href="css/index.css">

<link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css">

</head>

<body>

<div>

<div>

<div>

<a href="">中国大陆&nbsp;&nbsp;<i class=" fa fa-angle-down"></i></a>

<a href="" style="color:#f22e00">亲,请等登录</a>

<a href="">免费注册</a>

<a href="">手机逛淘宝</a>

</div>

<div>

<a href="">我的淘宝&nbsp;&nbsp;<i class=" fa fa-angle-down"></i></a>

<a href=""><span class=" fa fa-cart-plus"></span>&nbsp;&nbsp;购物车&nbsp;&nbsp;<i class=" fa fa-angle-down"></i></a>

<a href=""><span class=" fa fa-heart-o"></span>&nbsp;&nbsp;收藏夹&nbsp;&nbsp;<i class=" fa fa-angle-down"></i></a>

<a href="">商品分类</a>

<a href="">卖家中心&nbsp;&nbsp;<i class=" fa fa-angle-down"></i></a><a href="">联系客服&nbsp;&nbsp;<i class=" fa fa-angle-down"></i></a>

<a href=""><span class=" fa fa-navicon (alias)"></span>&nbsp;&nbsp;网站导航&nbsp;<i class=" fa fa-angle-down"></i></a>

</div>

</div>

<div></div>

</div>

</body>

</html>


*{margin:0px;padding: 0px;}

.clear{clear:both;}

.header{

width:100%;

height:35px;

background: #F5F5F5;

}

.header_content{

width:1190px;

height:35px;

margin:0px auto;

line-height: 35px;

}

.header_left{

width:400px;

height:35px;

float:left;

}

.header a{

text-decoration: none;

color:#3C3C3C;

margin:0px 7px;

font-size: 12px;

}

.header a:hover{

color:#f22e00;

}

.header_a{

display: inline-block;

width:80px;

height:35px;

text-align: center;

}

.header_a:hover{

background: #fff;


}

.header_right{

width:750px;


height:35px;

float:right;

text-align: right;

}

.header_right a:hover{


}



发布手记

热门词条