zoukankan      html  css  js  c++  java
  • 两列

    <!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>
  • 相关阅读:
    【剑指offer】面试题40:数组中只出现一次的数字
    【剑指offer】面试题39扩展:平衡二叉树
    【剑指offer】面试题39:二叉树的深度
    【剑指offer】面试题38:数字在排序数组中出现的次数
    【剑指offer】面试题37:两个链表的第一个公共结点
    【剑指offer】面试题36:数组中的逆序对
    剑指Offer
    设计模式
    ACM
    算法设计与分析
  • 原文地址:https://www.cnblogs.com/mtxcat/p/13502457.html
Copyright © 2011-2022 走看看