flex-gap-decorations-022.html (999B)
1 <!DOCTYPE html> 2 <title> 3 CSS Gap Decorations: flex column gaps are painted 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="../agnostic/gap-decorations-002-ref.html"> 7 <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> 8 <style> 9 body { 10 margin: 0px; 11 } 12 13 .flex-container { 14 height: 110px; 15 width: 120px; 16 17 display: flex; 18 19 column-gap: 20px; 20 row-gap: 10px; 21 22 column-rule-color: blue; 23 column-rule-style: solid; 24 column-rule-width: 20px; 25 26 row-rule-color: gold; 27 row-rule-style: solid; 28 row-rule-width: 10px; 29 30 row-rule-break: intersection; 31 row-rule-inset: 0; 32 33 flex-wrap: wrap; 34 } 35 36 .flex-item { 37 background: skyblue; 38 width: 50px; 39 } 40 </style> 41 <div class="flex-container"> 42 <div class="flex-item"></div> 43 <div class="flex-item"></div> 44 <div class="flex-item"></div> 45 <div class="flex-item"></div> 46 </div>