亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

淘寶導(dǎo)航二級菜單的寫法

Original 2019-06-18 13:25:19 240
abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>html課程學(xué)習(xí)-淘寶導(dǎo)航條</title> <link rel="shortcut icon" type="image/X-icon" href

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>html課程學(xué)習(xí)-淘寶導(dǎo)航條</title>

<link rel="shortcut icon" type="image/X-icon" href="image/logo2.png">

<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 class="header">

<div class="header_content">

<div class="header_left">

<a href="" class="header_a">中國大陸 &nbsp;<i class=" fa fa-angle-down "></i></a>

<a href="" style="color: #FF5000">親,請登錄</a>

<a href="">免費(fèi)注冊</a>

<a href="">手機(jī)逛淘寶</a>


</div>

<div class="header_right">

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

<ul>

<li>已買到寶貝</li>

<li>我的足跡</li>

</ul>

</a>

<a href=""><i class="fa fa-bicycle" aria-hidden="true" style="color: #FF5000"></i>&nbsp;購物車</a>

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

<ul>

<li>已買到寶貝</li>

<li>我的足跡</li>

<li>天貓商城</li>

<li>天貓商城</li>

</ul>


</a>

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

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

<a href="" class="header_a">聯(lián)系客服&nbsp;<i class=" fa fa-angle-down "></i></a>

<a href="" class="header_a">網(wǎng)站導(dǎo)航&nbsp;<i class=" fa fa-angle-down "></i>

<ul>

<li>回到首頁</li>

<li>天貓商城</li>

<li>天貓商城</li>

<li>天貓商城</li>

<li>天貓商城</li>

</ul>


</a>





</div>

</div>

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

</div>



</body>

</html>

/*-----------一下是css部分--------------------*/


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

.clear{clear: both;}

li{list-style: none;}

a{text-decoration: none;color: #6C6C6C;}

.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;}/*設(shè)置a標(biāo)簽字體間距*/

.header_content a:hover{color: #FF5000;}

.header_right{height: 40px;float: right;}

.header_a{display: inline-block; height: 40px;width: 90px; text-align: center;position: relative;}

.header_a:hover{background-color: #fff;}

.header_a ul{border: 1px solid #F5F5F5;display: none;border-top: none;}/*給ul一個像素的邊框并且設(shè)置顏色.display: none 隱藏這個ul邊框*/

.header_a:hover ul{display: block; position: absolute;width: 100px;}/*移動鼠標(biāo)顯示下拉菜單*/

.header_a ul li:hover{background-color:  #ccc;}

.header_a ul li{color: #6C6C6C;height: 30px;line-height: 30px;text-align: left; padding: 0px 3px; margin: 5px 0px;}



Correcting teacher:查無此人Correction time:2019-06-19 09:20:20
Teacher's summary:完成的不錯。很多寫好的樣式,可以保存下來,留著以后用。繼續(xù)加油。

Release Notes

Popular Entries