abstract:<!DOCMENT TYPE> <html> <head> <title>课后练习-苏宁易购导航</title> </head> <link rel="stylesheet" type="text/css" href="css/fo
<!DOCMENT TYPE> <html> <head> <title>课后练习-苏宁易购导航</title> </head> <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css"> <style type="text/css"> *{margin: 0;padding: 0;} a{text-decoration: none;color: #666;font-size: 12px;} li{list-style: none;} .clear{clear: both;} .header{width: 100%;height: 35px;background: #f5f5f5;border-bottom: 1px solid #eee;} .header_content{width:1190px;height:35px;line-height:35px;margin: 0 auto;} .header_left{height: 35px;float: left;} .header_content a:hover{color:#f60;} .header_right{height: 35px;float: right;} .header_right a{margin-left: 5px;} .header_a{display: inline-block;height: 35px;width: 85px;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: 84px;} .header_a ul li{color:#666;height:30px;line-height: 30px;text-align: left;padding: 0 12px;} .header_a ul li:hover{color: #f60;} </style> <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="" class="header_a">商家入驻 <i class="fa fa-angle-down"></i></a> <a href="" class="header_a">客户服务 <i class="fa fa-angle-down"></i></a> <a href=""><span class="fa fa-map-marker" style="color:#f60;font-size: 16px;"></span> 成都 <i class="fa fa-caret-down"></i></a> </div> <div class="header_right"> <a href="">请登录</a> <a href="" style="color:#ff5000;">注册有礼</a> <a href="" class="header_a">我的订单 <i class="fa fa-angle-down"></i> <ul> <li>待支付</li> <li>待收货</li> <li>待评价</li> <li>修改订单</li> </ul> </a> <a href="" class="header_a">我的易购 <i class="fa fa-angle-down"></i></a> <a href="">苏宁会员 <i class="fa fa-angle-down"></i></a> <a href="" class="header_a" style="color:#f60;"><i class="fa fa-cart-plus" style="font-size: 16px;"></i> 购物车 0 <i class="fa fa-angle-down"></i></a> <a href="">易付宝</a> <a href="">企业采购</a> <a href="">手机苏宁 <i class="fa fa-angle-down"></i></a> </div> </div> </div> <div class="clear"></div> </body> </html>
下拉菜单比较复杂的多列包括含图片的那种,还是觉得有点难,无从下手
Correcting teacher:韦小宝Correction time:2019-02-21 17:18:04
Teacher's summary:不要感觉到难 慢慢的从大框架入手 就比如这一个整体 先把整体做出来 再慢慢的去写中间的东西