xxxxxxxxxx
1
<div class="masonry-with-columns-2" id="masonry-with-columns-2">
2
<div>
3
1
4
</div>
5
<div>
6
2
7
</div>
8
<div>
9
3
10
</div>
11
<div>
12
4
13
</div>
14
<div>
15
5
16
</div>
17
<div>
18
6
19
</div>
20
<div>
21
7
22
</div>
23
<div>
24
8
25
</div>
26
<div>
27
9
28
</div>
29
<div>
30
10
31
</div>
32
<div>
33
11
34
</div>
35
<div>
36
12
37
</div>
38
<div>
39
13
40
</div>
41
<div>
42
14
43
</div>
44
<div>
45
15
46
</div>
47
</div>
xxxxxxxxxx
1
body {
2
margin: 0;
3
padding: 1rem;
4
}
5
.masonry-with-columns-2 {
6
display: -webkit-box;
7
display: -webkit-flex;
8
display: -ms-flexbox;
9
display: flex;
10
-webkit-flex-wrap: wrap;
11
-ms-flex-wrap: wrap;
12
flex-wrap: wrap; }
13
.masonry-with-columns-2 div {
14
height: 150px;
15
line-height: 150px;
16
background: #9B1B30;
17
color: white;
18
margin: 0 1rem 1rem 0;
19
text-align: center;
20
font-weight: 900;
21
font-size: 2rem;
22
-webkit-box-flex: 1;
23
-webkit-flex: 1 0 auto;
24
-ms-flex: 1 0 auto;
25
flex: 1 0 auto; }
26
.masonry-with-columns-2 div:nth-child(1) {
27
width: 222px; }
28
.masonry-with-columns-2 div:nth-child(2) {
29
width: 102px; }
30
.masonry-with-columns-2 div:nth-child(3) {
31
width: 155px; }
32
.masonry-with-columns-2 div:nth-child(4) {
33
width: 365px; }
34
.masonry-with-columns-2 div:nth-child(5) {
35
width: 132px; }
36
.masonry-with-columns-2 div:nth-child(6) {
37
width: 106px; }
38
.masonry-with-columns-2 div:nth-child(7) {
39
width: 199px; }
40
.masonry-with-columns-2 div:nth-child(8) {
41
width: 164px; }
42
.masonry-with-columns-2 div:nth-child(9) {
43
width: 424px; }
44
.masonry-with-columns-2 div:nth-child(10) {
45
width: 467px; }
46
.masonry-with-columns-2 div:nth-child(11) {
47
width: 350px; }
48
.masonry-with-columns-2 div:nth-child(12) {
49
width: 168px; }
50
.masonry-with-columns-2 div:nth-child(13) {
51
width: 296px; }
52
.masonry-with-columns-2 div:nth-child(14) {
53
width: 440px; }
54
.masonry-with-columns-2 div:nth-child(15) {
55
width: 110px; }
56
.masonry-with-columns-2 div:nth-child(16) {
57
width: 413px; }
58
.masonry-with-columns-2 div:nth-child(17) {
59
width: 333px; }
60
.masonry-with-columns-2 div:nth-child(18) {
61
width: 441px; }
62
.masonry-with-columns-2 div:nth-child(19) {
63
width: 74px; }
64
.masonry-with-columns-2 div:nth-child(20) {
65
width: 122px; }
66
.masonry-with-columns-2 div:nth-child(21) {
67
width: 189px; }
68
.masonry-with-columns-2 div:nth-child(22) {
69
width: 91px; }
70
.masonry-with-columns-2 div:nth-child(23) {
71
width: 269px; }
72
.masonry-with-columns-2 div:nth-child(24) {
73
width: 394px; }
74
.masonry-with-columns-2 div:nth-child(25) {
75
width: 139px; }
76
.masonry-with-columns-2 div:nth-child(26) {
77
width: 240px; }
78
.masonry-with-columns-2 div:nth-child(27) {
79
width: 184px; }
80
.masonry-with-columns-2 div:nth-child(28) {
81
width: 261px; }
82
.masonry-with-columns-2 div:nth-child(29) {
83
width: 358px; }
84
.masonry-with-columns-2 div:nth-child(30) {
85
width: 393px; }
86
.masonry-with-columns-2 div:nth-child(31) {
87
width: 370px; }
88
.masonry-with-columns-2 div:nth-child(32) {
89
width: 399px; }
90
.masonry-with-columns-2 div:nth-child(33) {
91
width: 263px; }
92
.masonry-with-columns-2 div:nth-child(34) {
93
width: 135px; }
94
.masonry-with-columns-2 div:nth-child(35) {
95
width: 221px; }
96
.masonry-with-columns-2 div:nth-child(36) {
97
width: 233px; }
1
1
Console errors: 0