flex-gap-decorations-030.html (1199B)
1 <!DOCTYPE html> 2 <title> 3 CSS Gap Decorations: Flex gaps are painted with different outsets in interior end segment endpoints. 4 </title> 5 <link rel="help" href="https://www.w3.org/TR/css-gaps-1/#outset"> 6 <link rel="match" href="flex-gap-decorations-030-ref.html"> 7 <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> 8 <style> 9 body { 10 margin: 0px; 11 } 12 .flex { 13 display: flex; 14 flex-wrap: wrap; 15 gap: 20px; 16 left: 0px; 17 top: 0px; 18 width: 340px; 19 row-rule: 3px solid gray; 20 row-rule-break: intersection; 21 row-rule-interior-inset-start: 0; 22 row-rule-interior-inset-end: 1px; 23 column-rule: 3px solid red; 24 column-rule-break: intersection; 25 column-rule-interior-inset-start: 0; 26 column-rule-interior-inset-end: -6px; 27 column-rule-edge-inset-end: -8px; 28 } 29 .item { 30 width: 100px; 31 height: 100px; 32 background: lightgray; 33 } 34 </style> 35 <div class="flex"> 36 <div class="item" style="width: 200px;"></div> 37 <div class="item"></div> 38 <div class="item"></div> 39 <div class="item"></div> 40 <div class="item"></div> 41 </div>