• 两列


    <!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>两列</title>
        <style>
            .container{
                height:   1000px;
                  1000px;
                /* display: inline-block; */
                position: relative;
                margin:   0 auto;
                border: 1px solid #fcc;
              /* text-align: center; */

            }
            .box1{
                border: 1px solid red;
                float:left;
                 30%;
                height: 100%;
            }
        
          .box2{
                border: 1px solid  blue;
                float:left;
                 60%;
                height: 100%;

            }
            .clearfix{
                clear: both;

            }
            .box3{
                border: 1px solid  green;
                float:left;
                 60%;
                height: 300px;
                border-radius:  10px;

            }
        
        </style>
    </head>
    <body>
        <div class="container">
            <div class="box1">

            </div>
            <div class="box2">

            </div>
            <div class="box3">

            </div>

        </div>
    </body>
    </html>
  • 相关阅读:
    (转)VC++多线程编程
    英文缩写汇总
    SINGLETON(单件)——对象创建型模式
    指针地址的修改
    我在csdn博客中的一些总结
    listener的执行先后问题
    css的精髓是布局,而不是样式——之三
    Jo——一个简单HTML5移动框架介绍
    深入了解javascript中的exec与match方法
    多ajax查询模拟一个整体的查询事务
  • 原文地址:https://www.cnblogs.com/dabaixiong/p/12187329.html
Copyright © 2020-2023  润新知