zoukankan      html  css  js  c++  java
  • 多栏布局

    <!DOCTYPE html>
    <html>
    <head lang="en">
        <meta charset="UTF-8">
        <title></title>
        <style>
            *{margin:0;padding:0;}
            .c1,.c2{width:100%;-webkit-column-width:150px;-moz-column-width:150px;-webkit-column-gap:150px;-moz-column-gap:150px;-webkit-column-rule:3px dashed #f60;-moz-column-rule:3px dashed #f60;}
            .c3{width:100%;height:300px;clear:both;background:red;color:#fff;}
        </style>
    </head>
    <body>
    <div class="c1">
       哇哇哇哇哇哇哇
      哇哇哇哇哇哇哇
      哇哇哇哇哇哇哇
      哇哇哇哇哇哇哇
      哇哇哇哇哇哇哇
    </div> <div class="c2">
     哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    </div> <div class="c3">
     哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    
    
      哇哇哇哇哇哇哇
    </div> </body> </html>
  • 相关阅读:
    世纪末的星期
    马虎的算式
    蜜蜂飞舞
    Torry 的困惑
    级数调和
    数列
    最大最小公倍数
    蚂蚁感冒
    12.integer to Roman
    13.Roman to Integer
  • 原文地址:https://www.cnblogs.com/dongxiaolei/p/5749939.html
Copyright © 2011-2022 走看看