multicol-breaking-nobackground-004.html (1340B)
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="help" href="https://drafts.csswg.org/css-break/#break-decoration"> 11 <link rel="match" href="multicol-breaking-nobackground-004-ref.html"> 12 <style> 13 14 .outer { 15 height: 125px; 16 column-fill: auto; 17 width: 800px; 18 column-count: 4; 19 column-gap: 16px; 20 background: rgba(0, 0, 255, 0.3); 21 } 22 23 .inner { 24 column-count: 2; 25 column-rule: 2px solid fuchsia; 26 column-gap: 16px; 27 font: 16px/1.25 sans-serif; 28 border: solid green; 29 border-width: 0 0 25px 0; 30 box-decoration-break: clone; 31 } 32 33 </style> 34 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 54 </div> 55 </div>