multicol-nested-column-rule-003.html (766B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-multicol-1/#column-gaps-and-rules"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 <style> 6 .mc { 7 columns: 2; 8 column-gap: 20px; 9 column-rule: 20px solid green; 10 } 11 </style> 12 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 13 <div class="mc" style="column-fill:auto; width:100px; height:100px; background:red;"> 14 <div class="mc"> 15 <div style="background:green;"> 16 <div style="height:10px; break-after:column;"></div> 17 <div style="height:10px; break-after:column;"></div> 18 <div style="height:200px;"></div> 19 </div> 20 </div> 21 </div>