OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>multicol with break</title> | 4 <title>multicol with break</title> |
5 <script> | |
6 if (window.internals) | |
7 internals.settings.setRegionBasedColumnsEnabled(true); | |
8 </script> | |
9 <style> | 5 <style> |
10 .mc > div { padding:0 0.5em; } | 6 .mc > div { padding:0 0.5em; } |
11 </style> | 7 </style> |
12 </head> | 8 </head> |
13 <body style="min-width:40em;"> | 9 <body style="min-width:40em;"> |
14 <div class="mc" style="-webkit-columns:3; -webkit-column-gap:0; -webkit-
column-fill:auto; columns:3; column-gap:0; column-fill:auto; orphans:1; widows:1
; width:24em; height:10em; line-height:2em; background:olive;"> | 10 <div class="mc" style="-webkit-columns:3; -webkit-column-gap:0; -webkit-
column-fill:auto; columns:3; column-gap:0; column-fill:auto; orphans:1; widows:1
; width:24em; height:10em; line-height:2em; background:olive;"> |
15 <div style="-webkit-column-break-after:always; break-after:column;"> | 11 <div style="-webkit-column-break-after:always; break-after:column;"> |
16 first column<br> | 12 first column<br> |
17 first column<br> | 13 first column<br> |
18 first column<br> | 14 first column<br> |
19 first column<br> | 15 first column<br> |
20 first column<br> | 16 first column<br> |
21 second column<br> | 17 second column<br> |
22 </div> | 18 </div> |
23 <div style="-webkit-column-break-after:always; break-after:column;"> | 19 <div style="-webkit-column-break-after:always; break-after:column;"> |
24 third column<br> | 20 third column<br> |
25 </div> | 21 </div> |
26 <div> | 22 <div> |
27 fourth column<br> | 23 fourth column<br> |
28 fourth column<br> | 24 fourth column<br> |
29 fourth column<br> | 25 fourth column<br> |
30 fourth column<br> | 26 fourth column<br> |
31 fourth column<br> | 27 fourth column<br> |
32 fifth column<br> | 28 fifth column<br> |
33 </div> | 29 </div> |
34 </div> | 30 </div> |
35 </body> | 31 </body> |
36 </html> | 32 </html> |
OLD | NEW |