flex-gap-decorations-002.html (914B)
1 <!DOCTYPE html> 2 <title> 3 CSS Gap Decorations: flex column gaps are painted with solid styling. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> 6 <link rel="match" href="../agnostic/gap-decorations-001-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: 110px; 16 17 display: flex; 18 19 column-gap: 10px; 20 row-gap: 10px; 21 22 column-rule-color: pink; 23 column-rule-style: solid; 24 column-rule-width: 10px; 25 26 row-rule-color: green; 27 row-rule-style: solid; 28 row-rule-width: 10px; 29 30 flex-wrap: wrap; 31 } 32 33 .flex-item { 34 background: skyblue; 35 width: 50px; 36 } 37 </style> 38 <div class="flex-container"> 39 <div class="flex-item"></div> 40 <div class="flex-item"></div> 41 <div class="flex-item"></div> 42 <div class="flex-item"></div> 43 </div>