multicol-gap-decorations-017.html (1163B)
1 <!DOCTYPE html> 2 <title> 3 CSS Gap Decorations: Multicolumn gap decorations painted with column-wrap and with different sized gaps and row-rule-inset 0. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> 6 <link rel="match" href="multicol-gap-decorations-017-ref.html"> 7 <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> 8 <style> 9 body { 10 margin: 0px; 11 } 12 13 .container { 14 border: 2px solid rgb(96 139 168); 15 width: 210px; 16 height: 130px; 17 column-count: 3; 18 column-width: 56.666px; 19 column-height: 60px; 20 column-gap: 20px; 21 row-gap: 10px; 22 column-rule-width: 20px; 23 column-rule-style: solid; 24 column-rule-color: blue; 25 row-rule-width: 10px; 26 row-rule-style: solid; 27 row-rule-color: gold; 28 column-wrap: wrap; 29 30 row-rule-break: intersection; 31 row-rule-inset: 0; 32 } 33 34 p { 35 background: rgb(96 139 168 / 0.2); 36 height: 60px; 37 margin: 0px; 38 } 39 </style> 40 41 <div class="container"> 42 <p></p> 43 <p></p> 44 <p></p> 45 <p></p> 46 <p></p> 47 <p></p> 48 </div>