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