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

html+css常用導(dǎo)航案例

??? 2019-01-25 17:49:07 273
????:本章節(jié)所學(xué)內(nèi)容為前面所學(xué)內(nèi)容的綜合使用示例。綜合使用了HTML的DIV標(biāo)簽,A標(biāo)簽,I標(biāo)簽,  Span標(biāo)簽以用空格標(biāo)簽&nbsp;CSS方面則綜合使用了前幾章節(jié)講到的各種CSS屬性,外部引入(包括引入字體和圖標(biāo)庫。)<!DOCTYPE html><html lang="en"><head><meta charset=

本章節(jié)所學(xué)內(nèi)容為前面所學(xué)內(nèi)容的綜合使用示例。

綜合使用了HTML的DIV標(biāo)簽,A標(biāo)簽,I標(biāo)簽,  Span標(biāo)簽以用空格標(biāo)簽&nbsp;

CSS方面則綜合使用了前幾章節(jié)講到的各種CSS屬性,外部引入(包括引入字體和圖標(biāo)庫。)


<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<title>Document</title>

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

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

</head>

<body>

<div class="header">

<div class="header_content">

<div class="header_content_left">

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

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

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

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


</div>

<div class="header_content_right">

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

<a href="" ><span class="fa fa-shopping-cart"></span>&nbsp;購物車&nbsp;<i class="fa fa-angle-down"></i></a>

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

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

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

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

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

</div>


</div>

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

</div>

</body>

</html>


body{margin: 0px;

pidding:0px;

}

.clear{clear: both;}

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

.header{widows: 100%; height: 38px;background-color:#F5F5F5;}


.header_content{width: 1200px;height: 38px;line-height: 38px; margin: 0px auto; }

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

.header_content_a{display: inline-block; height: 38px; width:80px; text-align:center;}

.header_content_a:hover{background-color: #FFF;}




.header_content_left{float:left;height: 38px;line-height: 38px;  }


.header_content_left a{margin-right: 5px; }


.header_content_right{ float:right;height: 38px;line-height: 38px;}

.header_content_right a{margin-left: 5px; }

2019-01-25_174815.png

?? ???:韋小寶?? ??:2019-01-25 17:52:45
???? ??:不錯不錯 寫的很棒哦 前端的布局一定要經(jīng)常練習(xí) 這樣才能熟練的掌握哦

??? ??

?? ??