zoukankan      html  css  js  c++  java
  • html+css

    <heml lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>主页</title>
    <link rel="stylesheet" type="text/css" href="123.css">
    </head>
    <body>

        <div class="top">
            <div class="head"></div>
        </div>
        <div class="main">
            <div class="left"></div>
            <div class="right">
                    <div class="sub-left"></div>
                    <div class="sub-right"></div>
                </div>
        </div>
       
    </body>
    </html>

    .body{
     margin:0;
     padding: 0;
    }

    .top{
     height:100px;
     background:yellow;
     margin: 50px 50px 10px 20px;

    }
    .head{
     225px;
     height:100px;
     background:red;
     margin: 0 auto;

    }
    .main{
     1100px;
     height:500px;
    /*  background-color: #ccc; */
     margin:0 auto;
    }
    .left{
     250px;
     height:500px;
        background:green;
     float: left;
    }

    .right{
     850px;
     height:500px;
     background-color:blue;
     float: right;
    }
    .sub-left{
      600px;
     height: 500px;
     background-color: black;
     float: left;
    }
    .sub-right{
      250px;
     height: 500px;
     background-color:purple;
     float: right;

    }

  • 相关阅读:
    Oracle Sql优化之日期的处理
    python excel转xml
    3、vue项目里引入jquery和bootstrap
    1、vue.js开发环境搭建
    2、vue-router2使用
    go 初步
    一个全局变量引起的DLL崩溃
    在linux用gdb查看stl中的数据结构
    gdb看core常用命令
    redis常用命令
  • 原文地址:https://www.cnblogs.com/rourou123/p/8186572.html
Copyright © 2011-2022 走看看