flex-gap-decorations-024.html (961B)
1 <!DOCTYPE html> 2 <title> 3 CSS Gap Decorations: shorthands column rules with !important are painted and overriden correctly. 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 .flex-container { 13 height: 110px; 14 width: 110px; 15 display: flex; 16 column-gap: 10px; 17 row-gap: 10px; 18 column-rule: 10px solid pink !important; 19 row-rule-color: green; 20 row-rule-style: solid; 21 row-rule-width: 10px; 22 flex-wrap: wrap; 23 } 24 #container { 25 column-rule: 9px dotted blue; 26 } 27 .flex-item { 28 background: skyblue; 29 width: 50px; 30 } 31 </style> 32 <div class="flex-container" id="container"> 33 <div class="flex-item"></div> 34 <div class="flex-item"></div> 35 <div class="flex-item"></div> 36 <div class="flex-item"></div> 37 </div>