第三次作业

1,首页

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{ margin: 0px;
            margin:auto;
           
        }

        body>div{
            /* border: 1px solid #fa3e19; */
            width: 1500px;
            height: 188px;
        }
        .fastlj{
            padding-top: 10px;
            height: 34px;
            /* margin: auto; */
            font-size: 14px;
        }
    
        a:hover{
            color: #fa3e19;
        }
        select{
            width: 78px;
            height: 25px;
        }
        .signin{
            color:#fa3e19;
        }
        .fastlj > div:not(.vacuum){
            /* float: left; */
            display: inline-block;
            width: 104px;
            height: 34px;
        }
        a{
            text-decoration: none;
            color: #070707;
        }

        .vacuum{
            width:156px;
            /* float: left; */
            display: inline-block;
            height: 14px;
            /* border: 1px solid red; */
        }

        .image{
            /* background-image: url("淘宝截屏.png"); */
            /* background-size:cover ; */
            margin-bottom: 10px;
            height: 60px;
            /* background-color:#fa3e19 ; */
            width: 100%;
            /* text-align: center; */
        }

        .seachar{
            padding-top: 20px;
            padding-bottom: 20px;
            height: 100px;
        }

      

        .img1{
            /* background-size: 190px 45px; */
            float: left;
            margin: 0ch;
        }

        .kuang{
            width: 43%;
            height: 102px;
          /* margin-top:32px; */
            /* position: relative; */
        }

        .seachar1{
            /* border: 2px solid #fa3e19; */
            border-radius: 8px;
            width: 523px ;
            height: 66px;
            margin-right: 108px;
            /* display: inline-block; */
        }
        .kjlj > div{
            display: inline-block;
            height: 66px;
        }
        .kjlj > div:hover{
            color: #fa3e19;
           margin-left: 15px;
        }

        .img2{
            /* float: right; */
            /* border: 1px solid red; */
            /* display:inline-block ; */
            float: right;
            position: relative;
            
        }

        .ss{
            
            width: 48px;
            height: 66px;
            float: right;
            border: white;
            /* display: inline-block; */
            background-color: #fa3e19;
        }

        .commodity{
            margin: 26px;
        }

        .commodity > div{
            float: left;
            /* border: #070707 1px solid; */
            border-radius:10px ;

       }

       .sort,.grcenter{
        width: 280px;
        height: 449px;
       text-align: center;
       }

       .middle{
        width: 910px;
        height: 449px;
        /* background: antiquewhite; */
       }
      .sort > li{
        float: left;
        width: 280px;
        height: 13px;
        font-size: 14px;
        margin-bottom: 3px;
        /* text-decoration: none; */
        list-style-type: none;
        padding-bottom: 15px;
      }
      .hl > li{
        float: left;
        list-style-type: none;
        width: 130px;
        height: 46px;
        text-align: center;
        /* border-right: 1px solid gray; */
       
      }
      .t{
        padding-bottom: 16px;
        margin-top: 10px;
      }
      .tm{
        color: #ff0036;
      }

      .xk > div{
        float: left;
        /* border: 1px slateblue solid; */
      }
    
      .xk1,.xk3{
        width: 198px;
        height: 393px;
        margin-right: 7px;
      }

      .xk2{
        width: 456px;
        height: 400px;
        margin-right: 12px;

      }

      .xk212 > div{
        float: left;
        /* border: 1px solid red; */
        width: 219px;
        height: 178px;
        margin-bottom: 10px
      }
      .xl > div{
    
        height: 134px;
        float: left;
        /* border: 1px solid pink; */
      }

      .xl2 > div{
        width:54px ;
        height: 35px;
      }
      .dx > div{
        height: 134px;
        float: left;
        /* border: 1px solid pink; */
      }
      .dx2{
        width:54px ;
        height: 35px;
      }

      .xk22 > div{
        float: left;
        
        /* border: 1px solid green; */
        width: 220px;
        height: 185px;
      }

      .img0 > div{
        /* border: 1px solid green; */
        float: left;
        width: 105px;
        height: 134px;
      }
     
      .tjh,.htb{
        display: inline-block;
        width: 50px;
        height: 15px;
        /* border: #070707 1px solid;  */
        margin: 7px;
        
      } 

      .htb{
        background-color: #fa3e19;
        font-size: 10px;
        color: aliceblue;
      }
      .rm > span{
        margin-left: 12px;
        font-size: 10px;
        background-color: #f09d8c;
        color: #dd3f20;
        
      }
      .rm  a{
        font-size: 10px;
      }
      .rm > div{
        display: inline-block;
        margin: 6px;
      }

      .wl{
        display: inline-block;
        margin: 2px;
      }
      .wl > img{
        width: 90px;
        height: 167px;
      }

      .sd{
        margin-top: 20px; 
        width: 250px;
        /* margin: auto; */
        height: 64px;
        
      }

      .x{
        /* float: left; */
        display: inline-block;
        width:68px;
        height: 60px;
        margin-right: 10px;
        /* position: fixed; */
      }
      .content{
        margin-bottom: 13px;
      }
      .ctt1{
        display: inline-block;
        width: 49px;
        height: 35px;
        font-size: 12px;
     }
     .brand{
        width: 250px;
        height: 180px;
        /* border: #1d10ca 2px solid; */
    }
    .pp{
        display: inline-block;
        width: 55px;
        height: 80px; 
        padding-top: 10px;
    }
    .pp img{
        width: 50px;
        height: 50px;    
    }
    .pp  div{
        font-size: 12px;
    }
    .brand1{
        /* border: 1px solid rebeccapurple; */
        width: 800px;
        height:250px;
    }
    .brand2{
        /* border: #070707 2px solid; */
        width: 1500px;
        height: 65px;
    }
    .pin{
        display: inline-block;
        /* border: #070707 1px solid; */
        width: 200px;
        height: 60px;
    }
    .pin1,.pin2:nth-child(1){
        display: inline-block;
       
        margin-bottom: 10px;
    }
    .pin21{
        font-size: 10px;

    }
    .pin:visited{
         color: #fa3e19;
    }

    .pin1 img{
        
        width: 48px;
        height: 48px;
    }
    .pin > div{
        display: inline-block;
    }
    .libiao{
        /* border: #070707 1px  solid; */
        width: 1550px;
        height: auto;
    }
    .item{
        display: inline-block;
    }
    .item1{
        width: 290px;
        height: 320px;
        display: inline-block;
        /* border: #070707 1px solid; */
        margin-top: 10px;
        margin-left: 10px;
        text-align: center;
        border-radius: 10px;
    }

    .item2{
        /* border: #070707 1px solid; */
        width: 235px;
        height: 100px;
        border-radius:10px ;
    }   

    .item3,.item42{

        font-size: 10px;
        /* border: #070707 1px solid; */
    }
    .item4{
        width: 235px;
        height: 45px;
        /* border: #070707 1px solid; */
        margin-top: 23px;
        
    }
    .item4 > div{
        /* border: #070707 1px solid; */
        display: inline-block;
        margin-right: 23px;
    }
    </style>
</head>
<body>
    <div class="fastlj">
        <div class="lj1">
                <select style="border: white;" name="">
            <option value="">中国大陆</option>
            <option value="">中国台湾</option>
            <option value="">巴基斯坦</option>
                </select> 
        </div>
        <div class="signin"><a href="" style="color: #fa3e19;">亲,请登录</a></div>
        <div class="signup"><a href="">免费注册</a></div>
        <div class="phonetb"><a href="">手机逛淘宝</a></div>
        <div class="url"><a href="">网页无障碍</a></div>
        <div class="vacuum"></div>
        <div class="mytb"><select style="border: white;" name="" id="">
            <option value="">我的淘宝</option>
            <option value="">已买到的宝贝</option>
            <option value="">我的足迹</option>
        </select></div>
        <div class="shoppingcar"><a href="">购物车</a></div>
        <div class="collection"><a href="">收藏夹</a></div>
        <div class="shoppingsort"><a href="">商品分类</a></div>
        <div class="freeshop"><select style="border: white;" name="" id="">
            <option value="">免费开店</option>
            <option value="">对公支付</option>
        </select></div>
        <div class="saleperson">|<a href="">千牛卖家中心</a></div>
        <div class="help" style="margin-left: 18px;"><a href="">帮助中心</a></div>
    </div>
    <div class="image">
        <img src="./淘宝.png" width="100%" height="60px">
    </div>
    <div class="seachar"style="background: #f3f6f8;">
        <div class="img1"><a href="">
            <img src="https://gw.alicdn.com/imgextra/i4/O1CN01H11jUw1gVppn3YjsM_!!6000000004148-2-tps-480-144.png" width="240px"></a>
        </div>
        <div class="kuang">
            <div class="seachar1"><select style="height: 66px;border: white; font-size: 23px;" name="">
                <option value="">宝贝</option>
                <option value="">天猫</option>
                <option value="">店铺</option>
            </select>|平衡车 
            <button class="ss" type="submit">搜索</button>
            </div>
            <div class="kjlj">
                <div style="color: #fa3e19;">大额神卷</div>
                <div>苹果惊喜券</div>
                <div>0.1元抢粽子</div>
                <div>家电爆款</div>
                <div>3c数码优惠</div>
                <div>美味狂欢</div>
                <div>女装</div>
            </div>
        </div>
            <!-- <div class="img2"><a href=""> <img src="https://gw.alicdn.com/imgextra/i1/O1CN01zPQ3cI1ZW6lIk3apB_!!6000000003201-2-tps-480-144.png"></a></div> -->
    </div>
    <div class="commodity">
        <div class="sort"  style="background: #f3f6f8;">
            <div class="t"><span>分类</span></div>
            <li><img src="" alt=""><a href="">电脑</a>/ &nbsp;<a href=""> &nbsp;办公</a>/ &nbsp;<a href="">文具</a></li>
            <li><a href=""> 工业品&nbsp;</a>/ &nbsp;<a href=""> &nbsp;商业</a>/ &nbsp;<a href="">&nbsp;定制</a></li>
            <li><a href=""> 家电&nbsp;</a>/ &nbsp;<a href=""> &nbsp;手机</a>/ &nbsp;<a href="">&nbsp;数码</a></li>
            <li><a href=""> 家具&nbsp;</a>/ &nbsp;<a href=""> &nbsp;家装</a>/ &nbsp;<a href="">&nbsp;家居</a></li>
            <li><a href=""> 女装&nbsp;</a>/ &nbsp;<a href=""> &nbsp;男装</a>/ &nbsp;<a href="">&nbsp;内衣</a></li>
            <li><a href=""> 女鞋&nbsp;</a>/ &nbsp;<a href=""> &nbsp;男鞋</a>/ &nbsp;<a href="">&nbsp;运动</a></li>
            <li><a href=""> 汽车&nbsp;</a>/ &nbsp;<a href=""> &nbsp;珠宝</a>/ &nbsp;<a href="">&nbsp;箱包</a></li>
            <li><a href=""> 食品&nbsp;</a>/ &nbsp;<a href=""> &nbsp;生鲜</a>/ &nbsp;<a href="">&nbsp;健康</a></li>
            <li><a href=""> 母婴&nbsp;</a>/ &nbsp;<a href=""> &nbsp;童装</a>/ &nbsp;<a href="">&nbsp;潮玩</a></li>
            <li><a href=""> 美妆&nbsp;</a>/ &nbsp;<a href=""> &nbsp;洗护</a>/ &nbsp;<a href="">&nbsp;宠物</a></li>
            <li><a href=""> 娱乐&nbsp;</a>/ &nbsp;<a href=""> &nbsp;图书</a>/ &nbsp;<a href="">&nbsp;鲜花</a></li>
        </div>
        <div class="middle">
            <div class="hl"  style="background: #f3f6f8;">             
                <li ><a href="" class="tm">天猫</a></li>                
                <li><a href="" class="tm">淘宝直播</a></li>                
                <li ><a href="" class="tm">1688严选</a></li>                
                <li><a href="" class="tm" >司法拍卖</a></li>                
                <li><a href="" class="tm" style="color: aquamarine;" >天猫超市</a></li>                
                <li><a href="" class="tm" style="color: #070707;">聚划算</a></li>                
                <li><a href="" class="tm" style="color: #070707;">飞猪旅行</a></li>                
            </div>
            <div class="xk"  style="background: #f3f6f8;">
                <div class="xk1" ><img src="https://gw.alicdn.com/imgextra/i2/O1CN01lFqrRX1rCYwyS1dQc_!!6000000005595-2-tps-480-672.png" width="189px" height="394px"></div>
                <div class="xk2" >
                    <div class="xk21"  style="background: #f3f6f8;">
                        <div class="xk211" style="height: 23px; " >百亿补贴'正品低价</div>
                        <div class="xk212" >
                            <div class="xl">
                                <div class="xl1" ><img src="https://img.alicdn.com/bao/upload/O1CN01pgXuz41GbcnomtudJ_!!6000000000641-0-yinhe.jpg" width="132px" height="130px"></div>
                                <div class="xl2">
                                    <div class="wz" style="font-size: 12px;">韩版ins网红高弹力组合套装头绳韩版...</div>
                                </div>  
                                <div class="qian" style="height: 5px;  margin-top: 10px; margin-left: 25px;">¥5.99</div>
                            </div>
                            <div class="dx">
                                <div class="dx1"><img src="https://img.alicdn.com/bao/upload/O1CN01cYFEn21DVGRPndqtJ_!!6000000000221-0-yinhe.jpg" width="132px" height="130px"></div>
                                <div class="dx2">
                                    <div class="wz" style="font-size: 12px;">猫爸爸的厨房泡芙猫粮及遛狗... </div>
                                </div>
                                <div class="qian" style="height: 5px; margin-top: 10px; margin-left: 25px;">¥60.0</div>
                            </div>
                        </div>
                    </div>
                    <div class="xk22">
                        <div class="xk221">
                            <div >淘宝工厂</div>
                            <div class="img0"> 
                                <div class="img1" style="font-size: 13px;"><img src="https://img.alicdn.com/bao/upload/O1CN01DzeOYf1MZgjN32zCH_!!6000000001449-2-yinhe.png" width="98px" height="145px">¥89</div>
                                <div class="img2" style="font-size: 13px;"><img src="https://img.alicdn.com/bao/upload/O1CN01JVOAju1y2D7gYGvlK_!!6000000006520-2-yinhe.png" width="98px" height="145px">¥56</div>
                            </div>
                        </div>
                        <div class="xk222">
                            <div>珠宝首饰</div>
                            <div class="img0">
                                <div class="img1" style="font-size: 13px;"><img src="https://img.alicdn.com/bao/upload/O1CN01wnbOkz1ZR4Jd9ju28_!!6000000003190-2-yinhe.png"width="98px" height="145px">¥256</div>
                                <div class="img2" style="font-size: 13px;"><img src="https://img.alicdn.com/bao/upload/O1CN01xTZDcb265tMsHEIOZ_!!6000000007611-2-yinhe.png"width="98px" height="145px">¥8.9</div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="xk3" >
                    <div class="xk31"style="background: rgb(255, 241, 235);border-radius: 10px;">                        
                        <div ><div class="tjh"><b>淘江湖</b></div>
                        <div class="htb">话题榜</div>
                            <div class="rm">
                                <span>热门</span><div class="rm1"><a href="">致taobao.com用户的一封信..</a></div>
                                <span>热门</span><div class="rm1"><a href="">“禁止焦绿”火了!3分钟带你...</a></div>
                                <span>热门</span><div class="rm1"><a href="">马老板20年前发帖的时候你...</a></div>
                                <span>热门</span><div class="rm1"><a href="">又被惊喜到了,这1件的商品,...</a></div>                        
                            </div>
                        </div>
                    </div>
                    <div class="xk32">
                        <div>
                           <div class="tbzb" style="margin: 12px;">淘宝直播</div>
                            <div>
                                <div class="wl"><img src="https://gw.alicdn.com/tfscom/i1/O1CN01QUpt7c1j0BJfi5BQF_!!0-dgshop.jpg"></div>
                                <div class="wl"><img src="https://gw.alicdn.com/tfscom/i1/O1CN013r5Jhr1OFCNBFd7tK_!!0-dgshop.jpg" alt=""></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="grcenter">
            <div style="width: 240px; height:89px ; " ><img src="https://wwc.alicdn.com/avatar/getAvatar.do?userNick=&width=60&height=60&type=sns&_input_charset=UTF-8" style="padding: 12px;"></div>
            <span>下午好</span>
            <div class="sd"  style="background: #f3f6f8;">
                <a href="" class="x" style="background: #FF6408; border-radius: 10px;">登录</a>
                <a href="" class="x" style="background: #FEB306; border-radius: 10px;">注册</a>
                <a href="" class="x" style="background: #F4F6F8; border-radius: 10px;">开店</a>
            </div>
            <div class="content"  style="background: #f3f6f8;">
                <div class="ctt1"><a href=""><p>宝贝收藏</p></a></div>
                <div class="ctt1"><a href=""><p>买过的店</p></a></div>
                <div class="ctt1"><a href=""><p>收藏的店</p></a></div>
                <div class="ctt1"><a href=""><p>我的足迹</p></a></div>
            </div>
            <div class="brand"  style="background: #f3f6f8;">
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i1/O1CN01nTz9d01PAuH2K5Ifh_!!6000000001801-2-tps-128-128.png"><div>云养熊猫</div></a>
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i2/O1CN01nb35qq1elkMpL4lGP_!!6000000003912-2-tps-128-128.png"><div>1688</div></a>
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i2/O1CN01qcMRwH1q2CMpLLOu5_!!6000000005437-2-tps-128-128.png"><div>裹裹快寄</div></a>
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i4/O1CN01AZVESe20L6sXJXvyB_!!6000000006832-2-tps-128-128.png"><div>书旗小说</div></a>
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i2/O1CN01wG8KW31IGDYZJbMgy_!!6000000000865-2-tps-128-128.png"><div>云游戏</div></a>
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i3/O1CN01l6t3Jm1OlG5jE88tQ_!!6000000001745-2-tps-128-128.png"><div>飞猪旅行</div></a>
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i4/O1CN01W5Ex9W1nOEa9F1COW_!!6000000005079-2-tps-128-128.png"><div>阿里资产</div></a>
                <a href="" class="pp"><img src="https://gw.alicdn.com/imgextra/i1/O1CN01ON7aSS26hRtJ2ZJcR_!!6000000007693-2-tps-128-128.png"><div>优酷视频</div></a>
            </div>
        </div>
    </div>
    <div class="brand1"></div>
    <div class="brand2"  style="background: #f3f6f8;">
       <div class="pin">
            <div class="pin1"><img src="https://gw.alicdn.com/imgextra/i2/O1CN011E0R1J23w9lJDeJXk_!!6000000007319-2-tps-192-192.png" ></div>
            <div class="pin2">
                <a href="">
                    <div>猜你喜欢</div>
                    <div class="pin21">精选好物推荐</div>
                </a>
            </div> 
        </div>
       <div class="pin">
                <div class="pin1"><img src="https://img.alicdn.com/imgextra/i4/O1CN01O363PQ23L3gUtAlg5_!!6000000007238-2-tps-192-192.png" ></div>
            <div class="pin2">
                <a href="">
                    <div>潮店数码</div>
                    <div class="pin21">疯抢8.5折起</div>
                </a>
            </div>
        </div>
        <div class="pin">
            <div class="pin1"><img src="https://img.alicdn.com/imgextra/i3/O1CN01wCKde31iiJrvWtIbb_!!6000000004446-2-tps-192-192.png" ></div>
            <div class="pin2">
                <a href="">
                    <div>服饰时尚</div>
                    <div class="pin21">大牌直降</div>
                </a>
            </div>
        </div>
        <div class="pin">
            <div class="pin1"><img src="https://gw.alicdn.com/imgextra/i4/O1CN01HcFWbP25zTrvtEkbS_!!6000000007597-2-tps-192-192.png" ></div>
            <div class="pin2">
                <a href="">
                    <div>运动户外</div>
                    <div class="pin21">满300减50</div>
                </a>
            </div>
        </div>
        <div class="pin">
            <div class="pin1"><img src="https://img.alicdn.com/imgextra/i1/O1CN01OrnNZw1QLjFUWKGmc_!!6000000001960-2-tps-192-192.png" ></div>
            <div class="pin2">
                <a href="">
                    <div>精致护理</div>
                    <div class="pin21">买一享十</div>
                </a>
            </div>
        </div>
        <div class="pin">
            <div class="pin1"><img src="https://img.alicdn.com/imgextra/i3/O1CN01LTDjKk29LPgYe0Mmb_!!6000000008051-2-tps-192-192.png" ></div>
            <div class="pin2">
                <a href="">
                    <div>家享生活</div>
                    <div class="pin21">大牌不止5H者</div>
                </a>
            </div>
        </div>
        <div class="pin">
            <div class="pin1"><img src="https://img.alicdn.com/imgextra/i3/O1CN01LLu9731XNHuK080yf_!!6000000002911-2-tps-192-192.png" ></div>
            <div class="pin2">
                <a href="">
                    <div>食品生鲜</div>
                    <div class="pin21">满300减50</div>
                </a>
            </div>
        </div>
      
    </div>
    <div class="libiao">
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
       
    </div>
</body>
</html>

2,登录界面

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
    <style>
        *{
            margin: 0px;

        }
        .page{
            background-color: #f0eff2;
            width: auto;
            height: 870px;
            position: relative;
        }
      
        .logo{
            width: auto;
            height: 140px;
            /* border: #5500ff 1px solid; */
        }
        .logo  img {
           width: 67px;
           height: 63px;
           margin-top: 67px; 
           margin-left: 78px;
        }
        .logo span{
           float: right;
            width: 115px;
            height: 34px;
            font-size: 12px;
            margin-top: 45px;
            color:rgb(36, 28, 28);
        }
        .body{
            /* border: 1px solid red; */
            width: 884px;
            height: 556px;
            position: absolute;
            top:50%;
            left:50%;
            background-color: #fff;
            transform:translate(-50%,-50%);
            /* margin-top: 10px; */
            /* margin-left: 336px; */
        }
        .main,.main1{
            text-align: center;
            height: 556px;
            /* border: #100e14 1px solid; */
            /* display: inline-block; */
            float: left;
        }
       
        .main{
            width: 498px;
        }
        .main1{
            width: 367px;
            margin-left: 10px;
        }
        .top{
            margin-top: 20px;
        }
        .ma,.dx{
            display: inline-block;
            font-size: 35px;

        }
        .ma{
            border-right: #100e14 0.4px solid;
        }
        input{
            width: 480px;
            height: 50px;
            margin-top: 45px;
            border-radius: 10px;
            box-shadow: 1px 0.1px 1px;
            border: 0px;
            background-color: #f0eff2;
        }
        .lj1{
            display: inline-block;
        }
        a{
            text-decoration: none;
            color: #050404;
        }

        h1{
            margin-top: 20px;
            margin-bottom: 50px;
        }
    </style>
</head>
<body>
    <div class="page">
        <!-- 顶部logo -->
        <div class="logo"><h1><a href=""><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOQAAACPCAMAAADduocmAAAACXBIWXMAABcRAAAXEQHKJvM/AAAAM1BMVEVHcEz/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwD/XwBQTkMBAAAAEHRSTlMA4GAw8BCgQIDAINCQUHCwIFiu3AAAC5ZJREFUeNrtXeeCrCoMll6k+P5Pe6eplATQce7sOWfzc9cRPgjpwWkaIO+0YtNXSemVonnQ5fNxy51mo4MSXwKpl4LU1SPM6duNtF8AST8NUhTv/8ZuqhLk1Svt89fL6SeAPL1jNJKFm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uIK014/gZxdTE+qDOTUABkQeU7P6UkDnqMCFIGPiC+Elob7mljOeyAnFiAx80N28zdNkBp6UratqXLIju0ac9mhWiFbArcP9W8UAkFqqES9EAOIoWFLK1qDJ2bTizRfVgnZTrp8FQW51R0D6YE/bm3QEtEVhe1FKwORAftNihVMP2hRiTYLdYLtVoo9BnK3PwQQ66h+msyMVu7QDjL56hUtlwJgC9EIpURgVd3RyMB2sObX8gsDpC63U7ldTQ1EXBKXja+3hrgaEinjRYzUkbh919Yrv3f/jIijIJMWfXm/DDxrw9ueTLwj6e3Eki+dadgvnbVXdPcwkuDQ7hJwd2+IlGCfYhIfdEpMybyaN2UhrlarU5RvX6lGfUA5FFzmbMiBvX/LQFUoj8TQ0bjrgvnp6Q6I2M3hvkBC7Qe246ZDH2ZhpLtcB8If5V7GLQ6avTLUSzuzStndFrpqJ3Gdjycv2kJ8Dd2538v44IEsG4sc1Lpt+W1GZbdi+X1WvSan8m++Qfmq7Itu9wfWdFIuOK3k3dRXGZMz6IfmbXgkDElck47KGQN834/p+JgeN7LOxNP9G842xMesDfpZZ/ZMUc5xfY+XJgJNNWvylBhXfVTtP+nJAgRmtgUIAAAAAElFTkSuQmCC">
        </a><span>网站无障碍 <br> "登陆页面"改进建议</span></h1></div>
        <!-- 验证方式 -->
        <div class="body">
           <div class="main">
                <div class="top">
                        <div class="ma">密码登陆</div>
                        <div class="dx">短信登陆</div>
                </div>
                <div class="username"><input type="text" value="账号名/邮箱/手机号" required></div>
                <div class="password"><input type="text" value="请输入登录密码" required></div>
                <div class="signin"><input type="submit" value="登录" style="background: #ff6200; color: #fff;"></div> 
                <div class="lj">
                    <div class="lj1"><img src=""><a href="">支付宝登录</a></div>
                    <div class="lj1"><img src=""><a href="">钉钉登录</a></div>
                <div class="lj2" style="margin-top: 10px;">
                        <div class="lj1"><a href="">免费注册</a></div>
                        <div class="lj1"><a href="">忘记账号名</a></div>
                        <div class="lj1"><a href="">忘记密码</a></div>
                </div>
                </div>
            </div>
            <!--登录 扫码 -->
            <div class="main1">
                <h1>手机扫描安全登录</h1>
                <div><img src="./dc841fbb59ff0603c753dd9e06f9fc6.png"></div>
            </div>
</body>
</html>

3,商品展示页

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
                *{ margin: 0px;
            margin:auto;
           
        }

        body>div{
            /* border: 1px solid #fa3e19; */
            width: 1500px;
            height: 188px;
        }
        .fastlj{
            padding-top: 10px;
            height: 34px;
            /* margin: auto; */
            font-size: 14px;
        }
    
        a:hover{
            color: #fa3e19;
        }
        select{
            width: 78px;
            height: 25px;
        }
        .signin{
            color:#fa3e19;
        }
        .fastlj > div:not(.vacuum){
            /* float: left; */
            display: inline-block;
            width: 104px;
            height: 34px;
        }
        a{
            text-decoration: none;
            color: #070707;
        }
        .vacuum{
            width:156px;
            /* float: left; */
            display: inline-block;
            height: 14px;
            /* border: 1px solid red; */
        }
        .item{
        display: inline-block;
    }
    .item1{
        width: 290px;
        height: 320px;
        display: inline-block;
        /* border: #070707 1px solid; */
        margin-top: 10px;
        margin-left: 10px;
        text-align: center;
        border-radius: 10px;
    }

    .item2{
        /* border: #070707 1px solid; */
        width: 235px;
        height: 100px;
        border-radius:10px ;
    }   

    .item3,.item42{

        font-size: 10px;
        /* border: #070707 1px solid; */
    }
    .item4{
        width: 235px;
        height: 45px;
        /* border: #070707 1px solid; */
        margin-top: 23px;
        
    }
    .item4 > div{
        /* border: #070707 1px solid; */
        display: inline-block;
        margin-right: 23px;
    }
    </style>
</head>
<body>
    <div class="fastlj">
        <div class="lj1">
                <select style="border: white;" name="">
            <option value="">中国大陆</option>
            <option value="">中国台湾</option>
            <option value="">巴基斯坦</option>
                </select> 
        </div>
        <div class="signin"><a href="" style="color: #fa3e19;">亲,请登录</a></div>
        <div class="signup"><a href="">免费注册</a></div>
        <div class="phonetb"><a href="">手机逛淘宝</a></div>
        <div class="url"><a href="">网页无障碍</a></div>
        <div class="vacuum"></div>
        <div class="mytb"><select style="border: white;" name="" id="">
            <option value="">我的淘宝</option>
            <option value="">已买到的宝贝</option>
            <option value="">我的足迹</option>
        </select></div>
        <div class="shoppingcar"><a href="">购物车</a></div>
        <div class="collection"><a href="">收藏夹</a></div>
        <div class="shoppingsort"><a href="">商品分类</a></div>
        <div class="freeshop"><select style="border: white;" name="" id="">
            <option value="">免费开店</option>
            <option value="">对公支付</option>
        </select></div>
        <div class="saleperson">|<a href="">千牛卖家中心</a></div>
        <div class="help" style="margin-left: 18px;"><a href="">帮助中心</a></div>
    </div>
    <div class="body">
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div> 
            </div>
        </a>
        <a href="" class="item">
            <div>
                <div class="item1">
                    <img src="./download.avif" style="width: 265px; height: 190px;margin-top: 10px;">
                    <div class="item2">
                        <div class="item3">威浦航空插头WP20-2芯3芯4芯5-7-9-12芯公母接头WEIPU连接器TO+Z</div>
                        <div class="item4">
                            <div class="item41">¥27.43</div>
                            <div class="item42">已经有25人购买</div>
                        </div>
                    </div>
                </div> 
            </div>
        </a>
        
    </div>
</body>
</html>

 4,盒子模型

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型</title>
    <!-- 
        padding 内边距 是内容与边框的距离
        margin 外边距 是边框外的间隔
        border 边框 边 
        border-radius 边框的
        border-width : medium | thin | thick | length
                    medium : 默认值。默认宽度
                    thin : 小于默认宽度
                    thick : 大于默认宽度
                    length : 由浮点数字和单位标识符组成的长度值。不可为负值。

            {padding margin border 一致}

            设置一个值 表示 上下左右边框
            设置两个值 表示 上下 左右边框
            设置两个值 表示 上  左右  下边框
            设置四个值 表示 上 下 左 右 边框
            
            
            border solid表示实线 dashed表示虚线 dotted表示点 double表示双实线


    -->
    <style>

        /* 表示默认去除盒子的内外边距 将边距从0开始计算 */
        *{
            margin: 0px;
            padding: 0px;
        }
        /* margin外边距 盒子进行移动 */
        /* 默认width,height是图片大小 */
        .box{
            width: 100px;
            height: 200px;
            background-color: #bb1818;
            border:  solid pink;
            border-width: thin;
             
        }

        .box:hover{
            margin: 30px;
        }

        .box1{
            width: 50px;
            height: 100px;
            background-color: #0d5e90;
            padding: 10px;
        }
        /*
         margin给负值会向相反方向移动
         padding赋负值会向上走
        */
        .nn{
            /* margin: -90px; */
            padding-left: -89px;
            background-color: #24c239;
        }
        /* 通过display实现行内元素和块级元素的相互转换 */
        /* .b_l{
            border: 1px dashed rebeccapurple;
             保留块级元素的性质 
            display: inline-block;
             设置宽高 
            width: 100px;
            height: 100px;
        }
        .l{
            border: #0d5e90 1px solid;
            width: 100px;
            height: 100px;
        } */

        /* 
        通过浮动将盒子进行行内元素和块级元素的相互转换 
        但却无法使浮动过的盒子居中
        */
        body > div{
           margin: auto;
        }
        
        .b_l{
            float: left;
            width: 100px;
            height: 100px;
            border: #0d5e90 1px dashed;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="box1"></div>
    </div>
    <div class="nn">负的</div>
    <div class="b_l"></div>
    <div class="b_l"></div>
    <div class="b_l"></div>
    <div class="l"></div>
</body>
</html>

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值