zoukankan      html  css  js  c++  java
  • 作业 5/13

    作业

    今日作业
    必做题
    1.日考题总结并整理到个人博客中
    2.从头到位敲一遍今天的css选择器及样式代码
    选做题
    1.尝试着搭建小米导航条(练习浮动 不要求搭的多好看)
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>xiaomi</title>
        <style>
            body{
                margin: 0;
            }
            .c1{
                margin:5px;
                color:rgb(176,176,176);
                display:inline-block;
            }
            #d1{
                background: rgb(51,51,51);
                height: 60px;
            }
            #d2{
                height: 60px;
                /*background: green;*/
                 1700px;
                margin: auto;
            }
            #d3{
                height: 60px;
                800px;
                float:left;
            }
            #d4{
                height:60px;
                120px;
                float:right;
            }
            #d5{
                height:60px;
                200px;
                float:right;
            }
            a:hover{
                color:white;
            }
        </style>
    </head>
    <body>
    <div id="d1">
        <div id="d2">
            <div id="d3">
                <a class="c1">小米商城</a>
                <a class="c1">商品信息</a>
                <a class="c1">云服务</a>
                <a class="c1">下载app</a>
                <a class="c1">售后服务</a>
            </div>
            <div id="d4"><a class="c1">购物车</a></div>
            <div id="d5">
                <a class="c1">登录</a>
                <a class="c1">注册</a>
                <a class="c1">消息通知</a>
            </div>
    
        </div>
    </div>
    </body>
    </html>
    
  • 相关阅读:
    2019nc#7
    ABC133F
    2019DX#6
    2019DX#5
    2019dx#4
    解决一般图最大匹配——带花树算法
    2019nc#4
    B-generator 1_2019牛客暑期多校训练营(第五场)
    hdu-6638 Snowy Smile
    hdu-6621 K-th Closest Distance
  • 原文地址:https://www.cnblogs.com/pythonwl/p/12884492.html
Copyright © 2011-2022 走看看