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

天貓商城首頁導(dǎo)航部分

Original 2019-05-13 23:23:18 242
abstract:1.  index.html代碼部分<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>天貓精選-上天貓,就夠了</title><link rel="stylesheet"

1.  index.html代碼部分

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<title>天貓精選-上天貓,就夠了</title>

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

<link rel="shortcut icon" href="static/images/logo1.png" type="image/x-icon">

<link rel="stylesheet" href="static/font-awesome/css/font-awesome.min.css">

</head>

<body>

<!-- 頭部導(dǎo)航 -->

<div class="top">

<div class="content">

<div class="left">

<a href="">喵,歡迎來到天貓</a>

<a href="">請登錄</a>

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

</div>

<ul class="right">

<li><a href="">我的淘寶<i class="fa fa-angle-down" style="color: #6d6e6a;"></i></a>

<div class="number">

<a href="">已買到的寶貝</a><br>

<a href="">已賣出的寶貝</a>

</div>

</li>

<li><a href=""><i class="fa fa-shopping-cart"></i>&nbsp;購物車0件</a></li>

<li><a href="">收藏夾<i class="fa fa-angle-down" style="color: #6d6e6a;"></i></a>

<div class="dope">

<a href="">收藏的寶貝</a><br>

<a href="">收藏的店鋪</a>

</div>

</li>

<li><a href="">|</a></li>

<li><a href=""><i class="fa fa-mobile"></i>&nbsp;手機(jī)版</a></li>

<li><a href="">淘寶網(wǎng)</a></li>

<li><a href="">商家支持<i class="fa fa-angle-down" style="color: #6d6e6a;"></i></a>

<div class="support">

<p>商家:</p>

<a href="">商家中心</a>&nbsp;&nbsp;&nbsp;&nbsp;

<a href="">天貓規(guī)則</a><br>

<a href="">商家入駐</a>&nbsp;&nbsp;&nbsp;&nbsp;

<a href="">運(yùn)營服務(wù)</a><br>

<a href="">商家品控</a>&nbsp;&nbsp;&nbsp;&nbsp;

<a href="">商家工具</a><br>

<a href="">天貓智庫</a>&nbsp;&nbsp;&nbsp;&nbsp;

<a href="">喵言喵語</a><br>

<!-- <span></span> -->

<p>幫助:</p>

<a href="">幫助中心</a>&nbsp;&nbsp;&nbsp;&nbsp;

<a href="">問商友&nbsp;&nbsp;&nbsp;&nbsp;</a><br>


</div>

</li>

<li><a href=""><i class="fa fa-list-ul"></i>&nbsp;網(wǎng)站導(dǎo)航<i class="fa fa-angle-down" style="color: #6d6e6a;"></i></a>

<div id="website">


</div>

</li>

</ul>

</div>

</div>

</body>

</html>

2. CSS樣式部分

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

ul {list-style: none;}

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

body {font-size: 13px;}

.top {background: #f2f2f2;height: 35px;}

.content {height: 35px;line-height: 35px;width: 1300px; margin: 0px auto;}

.left {width: 300px;float: left;}

.left a{margin-right: 17px;}

.right {float: right;}

.right li {float: left;margin-right: 17px;position: relative;}

.right li i {color: red;}

.content a:hover{color:red;}

.right li div {box-shadow: 2px 1px 5px #ccc;background: #fff;text-align: center;display: none;}

.number {width: 115px;position: absolute;left: 0px; top: 35px;line-height: 23px;padding: 8px 0px;}

.dope {width: 100px;position: absolute;left: 0px;top: 35px;line-height: 23px;padding: 8px 0px;}

.support {width: 150px;position: absolute;right: 0px;top: 35px;line-height: 23px;padding: 8px 0px;}

.support p {text-align: left;margin-left:15px;}

/* .support span {width: 150px;border-bottom: 1px solid #6d6e6a;display: inline-block;} */

#website {width: 1300px;height: 250px;position: absolute;right: 0px;top: 35px;}

.right li:hover div {display: block;}


Correcting teacher:查無此人Correction time:2019-05-14 09:16:09
Teacher's summary:完成的不錯(cuò)。想學(xué)好編程,就要多看別人代碼,多模仿別人功能。繼續(xù)加油。

Release Notes

Popular Entries