abstract:<!doctype html> <html> <head> <meta charset="utf-8"> <title>導(dǎo)航布局</title> <link rel="stylesheet" type="text/css&qu
<!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"> </head> <body> <div class="header"> <div class="header_content"> <div class="header_left"> <a href="" class="header_a">中國大陸 <i class="fa fa-angle-down"></i></a> <a href="" style="color:#FF5000;">親,請登錄</a> <a href="">免費注冊</a> <a href="">手機(jī)逛淘寶</a> </div> <div class="header_right"> <a href="" class="header_a">我的淘寶<i class="fa fa-angle-down"></i></a> <a href=""><span class="fa fa-cart-plus"></span> 購物車</a> <a href="" class="header_a"><span class="fa fa-star"></span> 收藏夾<i class="fa fa-angle-down"></i></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">網(wǎng)站導(dǎo)航<i class="fa fa-angle-down"></i></a> </div> </div> <div class="clear"></div> </div> <div> <p> 模仿淘寶主頁最上方導(dǎo)航條學(xué)了導(dǎo)航布局。通過在外部連接CSS文件里寫了CSS的一些規(guī)則,并添加了font awasome圖標(biāo)字體庫,為需要圖標(biāo)的地方添加矢量圖標(biāo)。 </p> </div> </body> </html>
Correcting teacher:天蓬老師Correction time:2019-04-10 10:31:53
Teacher's summary:做布局一定要有一個全局, 心中要有一個藍(lán)圖, 知道每一行代碼的作用, 才能寫好