UsedWaterfallsWith js, now css3, it's easy。
Master point:
1, column-count how many columns do you divide the text in div
2. Column-width provisions width
3, column-gap specified column gap
4, break-inside: avoid; avoiding internal break-ups of elements and creating new columns
Note: internet explorer 9 and earlier ie versions browser does not support column-count properties。
Column-count attribute specifies the number of columns whose elements should be separated:
Div other organiser -moz-column-count:3; -webkit-column-count: 3; column-count: 3; ♪ i'm sorry ♪
Clumn-gap properties specify the interval between columns:
Div other organiser -moz-column-gap: 40px; - webkit-column-gap: 40px; column-gap: 40px; ♪ i'm sorry ♪
The width, style and colour rules between the column of the column-rule property setting:
Div other organiser -moz-column-rule: 3px outset #ff000; -webkit-column-rule: 3px outset #ff000; (a) column-rule: 3px outset #ff000; ♪ i'm sorry ♪
Example:
"utf-8."Css3 falls stream ... Container{width: 80%; margin: 0 auto;}
. Waterfall
-moz-column-count: 4;
-webkit-column-count: 4;
column-count: 4;
-moz-column-gap: 1em;
-webkit-column-gap: 1em;
column-gap: 1em;
♪ i'm sorry ♪
. Item{
paddy: 1em;
margin: 0 1em 0;
-moz-page-break-inside: avoid;
-webkit-column-break-inside: avoid;
break-inside: avoid;
border: 1 px solid #000;
♪ i'm sorry ♪
. Item img
width: 100 per cent;
margin-bottom: 10px;
♪ i'm sorry ♪

1 coI'm sorry

2 co{\bord0\shad0\alphah3d}nvallis timestamp 2 doI don't know.

3 nullam eget lactus agueI don't know what you're talking about. Sospendisse rutum turpis curc
coI'm sorry.

4 doIntelger dolor est, commodore ut
that's right.

5 doIt's not like i'm going to be able to talk to you.
This is all of this, and we hope that it will help you learn and that you will be more supportive of the script house。










