常用导航布局案例

Original 2019-03-25 01:47:21 239
abstract:<!DOCTYPE html><head> <meta charset="UTF-8"> <title>淘宝导航</title> <link rel="stylesheet" type="text/css" href="../Public/css/index.cs

<!DOCTYPE html>

<head>

<meta charset="UTF-8">

<title>淘宝导航</title>

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

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

</head>

<body>

<!-- 灰色背景 -->

<div class="header">

<!-- 导航的div 居中 -->

<div class="header_content">

<!-- 左边导航内容 -->

<div class="header_left">

<a href="" class="header_a">中国大陆&nbsp;&nbsp;<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>&nbsp;购物车</a>

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

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

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

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

<a href="" class="header_a">网站导航&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

</div>

</div>

<div class="clear"></div>

</div>


</body>

</html>


Correcting teacher:天蓬老师Correction time:2019-03-25 09:30:08
Teacher's summary:卖家中心&nbsp;&nbsp;用实体空格,代替手写空格, 是个好习惯

Release Notes

Popular Entries