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

完成淘寶下拉菜單

asal 2019-02-19 21:06:29 289
abstrak:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>淘寶導航</title> <link rel="stylesheet" type="text/css&qu

)TS9GX53[A9HFJHXX6PAU56.png

<!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">
	<style type="text/css">
		*{margin: 0px;padding: 0px}
		a{text-decoration: none;color:#6c6c6c;font-size:13px;}
		li{list-style: none}
		.clear{clear:both;}
		.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}
		.header_right{width: 600px;height: 40px;float:right;}
		.header_content a:hover{color: #ff5000}
		.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;}
		.header_a:hover ul{display: block;position:absolute;width: 100px}
		.header_a ul li:hover{background-color:#f5f5f5 }
		.header ul li{color: #6c6c6c;height:30px;line-height: 30px;text-align: left;padding: 0 5px;margin: 5px 0px;}
	</style>
</head>
<body>
	<div class="header">
		<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: #ff5500">親,請登陸</a>
				<a href="#">免費注冊</a>
				<a href="#">中國大陸</a>
				<a href="#">手機淘寶</a>
			</div>
			<div class="header_right">
				<a href="" class="header_a">我的淘寶 <i class="fa fa-angle-down"></i>
					<ul>
						<li>已買到的寶貝</li>
						<li>我的足跡</li>
					</ul>
				</a>
				<a href="" ><span class="fa fa-cart-plus" style="color: #ff5500"></span>&nbsp;&nbsp;購物車</a>
				<a href="" class="header_a"><span class="fa fa-star"></span>&nbsp;&nbsp;收藏夾 <i class="fa fa-angle-down"></i>
					<ul>
						<li>已買到的寶貝</li>
						<li>我的足跡</li>
					</ul>
				</a>
				<a href="">商品分類</a>
				<a href="" class="header_a">賣家中心<i class="fa fa-angle-down"></i></a>
				<a href="" class="header_a">聯(lián)系客服<i class="fa fa-angle-down"></i></a>
				<a href="" class="header_a"><span class="fa fa-align-justify" style="color: #ff5500"></span>網(wǎng)站導航<i class="fa fa-angle-down"></i>
					<ul>
						<li>已買到的寶貝</li>
						<li>我的足跡</li>
					</ul>
				</a>

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

	</div>

</body>
</html>

----------------------------------------------------------------------css----------------------------------------------------------------------------

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

a{text-decoration: none;color:#6c6c6c;font-size:13px;}

li{list-style: none}

.clear{clear:both;}

.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}

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

.header_content a:hover{color: #ff5000}

.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;}

.header_a:hover ul{display: block;position:absolute;width: 100px}

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

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


Guru membetulkan:滅絕師太Masa pembetulan:2019-02-20 09:13:26
Rumusan guru:作業(yè)效果完成的不錯!注意一點;帶有二次下拉菜單的導航不建議使用a鏈接嵌套哦

Nota Keluaran

Penyertaan Popular