web前端日常更新 7.21

还是老样子,直接上写过的作业:

!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
          #box{
            width: 360px;
            height: 40px;
            background-image: -webkit-linear-gradient(top,rgb(34, 123, 185),rgb(157, 204, 236)) ;
         }
         .box2{
            width: 320px;
            height: 40px;
            background-image: -webkit-linear-gradient(top,rgb(213, 235, 249),rgb(157, 204, 236)) ;
         }
         .box3{
            width: 320px;
            height: 40px;
            margin-top: 130px;
            background-image: -webkit-linear-gradient(top,rgb(213, 235, 249),rgb(242, 245, 248)) ;
         }
         .box4{
            width: 320px;
            height: 40px;
            margin-top: 100px;
            background-image: -webkit-linear-gradient(top,rgb(213, 235, 249),rgb(242, 245, 248)) ;
         }
         .box5{
            width: 320px;
            height: 40px;
            margin-top: 100px;
            background-image: -webkit-linear-gradient(top,rgb(213, 235, 249),rgb(242, 245, 248)) ;
         }
         
          .zi{
            line-height: 40px;
            margin-left: 30px;
            color: white;
          }
          .num{
            line-height: 40px;
            margin-left: 30px;
            color:rgb(30, 113, 206);
          }
          ol>li{
            margin-top: 150px;
          }
          li{
            list-style: none;
          }
          p{
            color:rgb(149, 115, 121);
            text-align: center;
          }
          
    </style>
</head>
<body>
    <div id="box">
        <h2 class="zi">家用电器</h2>
        <ul>
            <li class="box2">
                <h3 class="num">大家电</h3>
                <p>平板电脑 洗衣机 冰箱</p>
                <p>空调 烟机/灶具 热水器</p>
                <p>冷柜/酒柜 消毒柜 家庭影院</p>
            </li>
            <li class="box3">
                <h3 class="num">生活电器</h3>
                <p>电风扇  净化器  吸尘器</p>
                <p>净水设备  挂烫机  电话机</p>
            </li>
            <li class="box4">
                <h3 class="num">厨房电器</h3>
                <p>榨汁机  电压力锅  电饭煲</p>
                <p>豆浆机  微波炉  电磁炉</p>
            </li>
            <li class="box5">
                <h3 class="num">五金家装</h3>
                <p>淋浴/水槽  电动工具  手动工具</p>
                <p>仪器仪表  浴霸/排气  灯具</p>
            </li>
        </ul>
        
        </ol>
    </div>
</body>
</html>

效果图:

 

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值