淘宝导航作业

原创 2018-11-04 17:45:49 213
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>淘宝导航</title> <link rel="stylesheet" type="text/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;<em class="fa fa-angle-down"></em></a>
<a href="#" style="color:#F22E00">亲,请登录</a>
<a href="#">免费注册</a>
<a href="#">&nbsp;&nbsp;手机逛淘宝</a>
</div>
<div>
<a href="">我的淘宝&nbsp;<em class="fa fa-angle-down"></em></a>
<a href=""><span class="fa fa-shopping-cart"style="color:#F22E00">&nbsp;</span>购物车&nbsp;<em class="fa fa-angle-down"></em></a>
<a href=""><span class="fa fa-star">&nbsp;</span>收藏夹&nbsp;<em class="fa fa-angle-down"></em></a>
<a href="">商品分类</a>
<span>|</span>
<a href="">卖家中心&nbsp;<em class="fa fa-angle-down"></em></a>
<a href="">联系客服&nbsp;<em class="fa fa-angle-down"></em></a>
<a href="">网站导航&nbsp;<em class="fa fa-angle-down"></em></a>
</div>
</div>
<div></div>
</div>
</body>
</html>

css部分

*{margin: 0;padding: 0;}
a{color:#6C6C6C;font-family:courier;text-decoration:none;line-height:36px;font-size:12px;}
a:hover{color:#F22E00;}
.header{width:100%;height:36px;background-color:#F5F5F5;}
.header_content{width:1190px;height:36px;margin:0 auto;}
.header_content_left{height:36px;float:left;}
.h_c_left_china{display:inline-block;width:80px;}
.h_c_left_china:hover{background-color:white;}
.header_content_right{height:36px;float:right;}
.h_c_right_stand{font-size:8px;color:#6C6C6C;margin-left:5px;margin-right:5px;}

虽然大概样子做出来了,但是感觉自己还是明显思路不够清晰。还得继续努力啊

批改老师:PHP中文网批改时间:2018-11-04 17:51:24
老师总结:样子出来了就是胜利,多写几遍思路就有了,熟能生巧

发布手记

热门词条