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

新浪導(dǎo)航條的制作

原創(chuàng) 2019-01-13 20:20:52 382
摘要:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>新浪導(dǎo)航</title> <link rel="stylesheet" type="text/css" href="css/index.

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>新浪導(dǎo)航</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>

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

a{text-decoration:none;color:#000;}

i{color:#FF8500;}

.clear{clear:both;}

.head_up{width:100%;height:5px;background-color:#FF8500;}

.header{width:100%;height:53px;background-color:#FCFCFC;border:1px solid #EDEEF0;}

.header_content{width:1253px;height:53px;margin:0px auto;line-height:53px;text-align:center;}

.header_content a:hover{background:#F6F8F9;}

.header_left{width:400px;height:53px;float:left;}

.left_a1{display:inline-block;width:100px;height:53px;}

.left_a2{display:inline-block;width:120px;height:53px;}

.left_a3{display:inline-block;width:130px;height:53px;}

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

.right_a1{display:inline-block;width:80px;height:53px;}

.right_a2{display:inline-block;width:100px;height:53px;}

</style>

</head>

<body>

<div class="head_up"></div>

<div class="header">

<div class="header_content">

<div class="header_left">

     <a href="" class="left_a1">設(shè)為主頁(yè)</a>

     <a href="" class="left_a2">手機(jī)新浪網(wǎng)</a>

     <a href="" class="left_a3">移動(dòng)客戶端&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

</div>

<div class="header_right">

<a href="" class="right_a1">登錄</a>

<a href="" class="right_a2">微博&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

<a href="" class="right_a2">博客&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

<a href="" class="right_a2">郵箱&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

<a href="" class="right_a2">網(wǎng)站導(dǎo)航</a>

</div>

</div>

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

</div>


</body>

</html>

老師您好!我在細(xì)節(jié)的處理上欠缺不少,在本節(jié)作業(yè)中,我想把header_left中的a鏈接移動(dòng)到header_left的最左側(cè),把header_right中的a鏈接移動(dòng)到最右側(cè),沒有實(shí)現(xiàn)??偟膩?lái)說(shuō),跟著老師一起敲代碼,學(xué)習(xí)效果還是不錯(cuò)的。

批改老師:滅絕師太批改時(shí)間:2019-01-14 09:58:28
老師總結(jié):你的變量名沒有區(qū)分開呀,,并且不用每個(gè)a都給上class直接.header_left a ;.header_right a 這樣來(lái)寫 減少代碼冗余;

發(fā)布手記

熱門詞條