multicol-breaking-nobackground-001.html (1109B)
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-nobackground-001-ref.html"> 10 <style> 11 12 .outer { 13 height: 100px; 14 column-fill: auto; 15 width: 800px; 16 column-count: 4; 17 column-gap: 16px; 18 background: rgba(0, 0, 255, 0.3); 19 } 20 21 .inner { 22 column-count: 2; 23 column-rule: 2px solid fuchsia; 24 column-gap: 16px; 25 font: 16px/1.25 sans-serif; 26 } 27 28 </style> 29 30 <div class="outer"> 31 <div class="inner" style="height: 300px"> 32 AAAAA<br> 33 BBBBB<br> 34 CCCCC<br> 35 DDDDD<br> 36 EEEEE<br> 37 FFFFF<br> 38 GGGGG<br> 39 HHHHH<br> 40 IIIII<br> 41 JJJJJ<br> 42 KKKKK<br> 43 LLLLL<br> 44 MMMMM<br> 45 NNNNN<br> 46 OOOOO<br> 47 PPPPP<br> 48 QQQQQ 49 </div> 50 </div>