美文网首页
2018-12-25 项目布局

2018-12-25 项目布局

作者: 九妄_b2a1 | 来源:发表于2019-01-02 11:43 被阅读0次
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>首页</title>
        <style type="text/css">
            *{
                padding: 0;
                margin: 0;
            }
            .d1{
                width: 1523px;
                height: 80px;
                background-color: #789;
            }
            .d2{
                width: 1523px;
                height: 20px;
                background-color: #000; 
            }
            .d3{
                width: 1523px;
                height: 150px;
                background-color: green;    
            }
            .d4{
                width: 1090px;
                height: 150px;
                background-color: yellow;
                margin: 0 auto; 
            }
            .d6{
                width: 1090px;
                height: 41px;
                background-color: red;
                margin: 0 auto; 
            }
             .d7{
                width: 1523px;
                height: 500px;
                background-color: pink;
            }
            
            .d8{
                width: 1523px;
                height: 30px;
                background-color: black;    
            }
            .d9{
                width: 1090px;
                height: 300px;
                background-color: green;
                margin: 0 auto;
                margin-bottom: 30px;
            }
            .d10{
                width: 1090px;
                height: 300px;
                background-color: black;
                margin: 0 auto;
                margin-top: 30px;
                margin-bottom: 30px;
            }
    
    </head>
    <body>
        <div class="d1"></div>
        <div class="d2"></div>
        <div class="d3">
            <div class="d4"></div>
        <div class="d5">
            <div class="d6">
        <div class="d7"></div>
        <div class="d8"></div>
        <div class="d9"></div>
        <hr></hr>
        <div class="d10"></div>
    ...
    </body>
    </html>

    相关文章

      网友评论

          本文标题:2018-12-25 项目布局

          本文链接:https://www.haomeiwen.com/subject/watzlqtx.html