multicol-gap-decorations-024.html (1071B)
1 <!DOCTYPE html> 2 <title> 3 CSS Gap Decorations: Multicolumn gap decorations painted with column-wrap and orthogonal items. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> 6 <link rel="match" href="multicol-gap-decorations-024-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 width: 200px; 15 height: 150px; 16 column-count: 3; 17 column-width: 60px; 18 column-height: 70px; 19 column-gap: 10px; 20 row-gap: 10px; 21 column-rule: 10px solid blue; 22 row-rule: 10px solid gold; 23 column-wrap: wrap; 24 } 25 26 .items { 27 background: rgb(96 139 168 / 0.2); 28 height: 70px; 29 width: 60px; 30 margin: 0px; 31 writing-mode: vertical-rl; 32 } 33 </style> 34 35 <div class="container"> 36 <div class="items"></div> 37 <div class="items"></div> 38 <div class="items"></div> 39 <div class="items"></div> 40 <div class="items"></div> 41 <div class="items"></div> 42 </div>