multicol-breaking-nobackground-000.html (945B)
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-000-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 </div> 38 </div>