multicol-breaking-nobackground-005.html (1618B)
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="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="https://mozilla.org/"> 7 <link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules"> 8 <link rel="help" href="https://drafts.csswg.org/css-multicol/#cf"> 9 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2309"> 10 <link rel="match" href="multicol-breaking-nobackground-005-ref.html"> 11 <style> 12 13 .outer { 14 height: 200px; 15 width: 800px; 16 column-fill: balance; 17 column-count: 3; 18 column-gap: 16px; 19 background: rgba(0, 0, 255, 0.3); 20 } 21 22 .inner { 23 column-count: 2; 24 column-fill: balance; 25 column-rule: 2px solid fuchsia; 26 column-gap: 16px; 27 font: 16px/1.25 sans-serif; 28 } 29 30 </style> 31 32 <!-- This test is similar to multicol-breaking-nobackground-002.html, 33 but both outer and inner columns are balancing. The outer multi-column is 34 made explicitly taller than the inner columns' optimal balance height. --> 35 <div class="outer"> 36 <div class="inner" style="height: 300px"> 37 AAAAA<br> 38 BBBBB<br> 39 CCCCC<br> 40 DDDDD<br> 41 EEEEE<br> 42 FFFFF<br> 43 GGGGG<br> 44 HHHHH<br> 45 IIIII<br> 46 JJJJJ<br> 47 KKKKK<br> 48 LLLLL<br> 49 MMMMM<br> 50 NNNNN<br> 51 OOOOO<br> 52 PPPPP<br> 53 QQQQQ<br> 54 RRRRR<br> 55 SSSSS<br> 56 TTTTT<br> 57 UUUUU<br> 58 VVVVV<br> 59 WWWWW<br> 60 XXXXX<br> 61 YYYYY<br> 62 ZZZZZ<br> 63 aaaaa<br> 64 bbbbb<br> 65 ccccc<br> 66 ddddd 67 </div> 68 </div>