小米页面的代码

<!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>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        li{
            list-style: none;
        }
        a{
            text-decoration: none;
            
        }
        input{
            outline: none;
        }
        .goods{
            width: 1226px;
            margin:0 auto;
        }
        /* .goods.left-top img{
            width: 56px;
            height: 56px;
        } */
        .goods{
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .head.right{
            position: relative;
        }
        .head .right input{
            width: 245px;
            height: 40px;
            border: 1px solid #757575;
            border-radius: 5px;
        } 
        .head pic span{
            display: inline-block;
            width: 52px;
            height: 40px;
            line-height: 40px;
            position: absolute;
            right: 0;
        } 
        .a{
            position: absolute;
            top: 50%;
            margin-top: -33,5px;
            right: 1000px;
        }
        .b{
            position: absolute;
            top: 50%;
            margin-top: -33,5px;
            right: 0;
        }
        .pic .circle span{
            display: inline-block;
            width: 10px;
            height: 10px;
            background-color:dimgray;
            border-radius: 50%;
            
        }
        .pic{
            position:relative;
            width:400px;
            height:413px;
            background-color:ghostwhite;
            display:inline-block;
            
        }
        /* .pic.img{
            position:sticky;
            width: 10px;
            height: 10px;
            background-color:dimgray;
            border-radius: 50%;
        } */
        .goods{
            position: relative;
            margin-top: 20px;
        }
        .left{
            position: absolute;
            top: 0;
            left: 200px;
        }
        .left ul{
            background-color: #343333;
            width: 234px;
            height: 413px;
            font: 18px/1.5 Helvetice Neue,Helvetice,Arical;
            padding: 20px 0px;
        }
        .left ul li {
            display: flex;
            justify-content: space-between;
            padding: 0px 30px;
        }
        .left ul li a{
            display: inline-block;
            width: 234px;
            height: 42px;
            line-height: 42px;
            color: aliceblue;
        }
        .left ul li:hover{
            background-color: orange;
        }
    </style>
</head>
<body>
        <div class="goods">
                <div class="head">
                    <!-- <div class="left-top"></div><img src="../images/u=3829522483,2560869852&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto.webp" alt=""></div> -->
    
        </div>
            <div class="pic">
                 <div class="img"></div><img src="../images/微信图片_20230712174429.png" alt=""></div>
                 <div class="left">
                     <ul>
                        <li><a href="#">手机</a><br/></li>
                        <li><a href="#">电视</a><br/></li>
                        <li><a href="#">笔记本 平板</a><br/></li>
                        <li><a href="#">家电</a><br/></li>
                        <li><a href="#">出行 穿戴</a><br/></li>
                        <li><a href="#">智能 路由器</a><br/></li>
                        <li><a href="#">电源 配件</a><br/></li>
                        <li><a href="#">健康 儿童</a><br/> </li>
                        <li><a href="#">耳机音响</a><br/></li>
                        <li><a href="#">生活 箱包</a><br/></li>
                    </ul>
                 </div>
                 <i class="a">&lt;</i>
                 <i class="b">&gt;</i>
                 <div class="circle">
                    <span></span>
                    <span></span>
                    <span></span>
                    <span></span>
                 </div>
            </div>
</body>
</html>



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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值