broken-column-rule-1.html (729B)
1 <!DOCTYPE HTML> 2 <title>CSS Test: breaking of column rule</title> 3 <meta charset="utf-8"> 4 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 5 <link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules"> 6 <link rel="match" href="broken-column-rule-1-ref.html"> 7 <style> 8 9 .outer { 10 height: 100px; 11 column-fill: auto; 12 width: 550px; 13 column-count: 4; 14 column-gap: 50px; 15 /* leaves 100px for each column */ 16 } 17 18 .inner { 19 column-count: 2; 20 column-rule: 2px solid blue; 21 height: 250px; 22 } 23 24 .fill { 25 height: 500px; /* work around https://bugzilla.mozilla.org/show_bug.cgi?id=1374479#c4 */ 26 } 27 28 </style> 29 30 <div class="outer"> 31 <div class="inner"> 32 <div class="fill"></div> 33 </div> 34 </div>