blob: 20710e8c292e4783b12404174b7de7c40edd6d97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
<div style="width: 100px; height: 100px; columns: 2; column-fill: auto; column-gap: 0;">
<div style="height: 50px; width: 50px; background: green;"></div>
<div style="display: flex; flex-direction: column; flex-wrap: wrap; height: 200px;">
<div style="height: 50px; width: 25px; background: mediumaquamarine; break-before: column;"></div>
<div style="height: 50px; width: 25px; background: magenta;"></div>
<div style="height: 50px; width: 25px; background: maroon; break-before: avoid;"></div>
<div style="height: 50px; width: 25px; background: pink;"></div>
<div style="height: 50px; width: 25px; background: yellow;"></div>
<div style="height: 50px; width: 25px; background: purple;"></div>
<div style="height: 50px; width: 25px; background: blue; break-before: avoid;"></div>
<div style="height: 50px; width: 25px; background: orange;"></div>
</div>
</div>
|