multicol-breaking-001.html (1165B)
1 <!DOCTYPE HTML> 2 <title>CSS Test: breaking of a multicolumn</title> 3 <meta charset="utf-8"> 4 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 5 <link rel="author" title="Mozilla" href="https://mozilla.org/"> 6 <link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules"> 7 <link rel="help" href="https://drafts.csswg.org/css-multicol/#cf"> 8 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2309"> 9 <link rel="match" href="multicol-breaking-001-ref.html"> 10 <style> 11 12 .outer { 13 height: 100px; 14 column-fill: auto; 15 width: 800px; 16 column-count: 4; 17 column-rule: 4px solid blue; 18 column-gap: 16px; 19 background: rgba(0, 0, 255, 0.3); 20 } 21 22 .inner { 23 column-count: 2; 24 column-rule: 2px solid fuchsia; 25 column-gap: 16px; 26 background: rgba(255, 0, 255, 0.3); 27 font: 16px/1.25 sans-serif; 28 } 29 30 </style> 31 32 <div class="outer"> 33 <div class="inner" style="height: 300px"> 34 AAAAA<br> 35 BBBBB<br> 36 CCCCC<br> 37 DDDDD<br> 38 EEEEE<br> 39 FFFFF<br> 40 GGGGG<br> 41 HHHHH<br> 42 IIIII<br> 43 JJJJJ<br> 44 KKKKK<br> 45 LLLLL<br> 46 MMMMM<br> 47 NNNNN<br> 48 OOOOO<br> 49 PPPPP<br> 50 QQQQQ 51 </div> 52 </div>