css3多栏布局

<style type="text/css">
        .box{
            column-width: 100px; /*设定栏位宽度*/
            column-count: 3; /***设定栏位数量***/
            column-gap: 100px; /**设定栏位间隔*/
            column-rule: 2px solid red; /***设定栏位间隔线*/

        }
        .box.tit{
            column-span: all; /*  值为1 或all  1跨越1列  all跨越所有列*/
            text-align: center;
            color: red;
        }
    </style>
</head>
<body>

    <div class="box">
        <div class="tit">跨越所有列</div>
原文地址:https://www.cnblogs.com/jinsuo/p/6944284.html