Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-gaps/flex/flex-gap-decorations-033.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
CSS Gap Decorations: flex column and row gaps are painted with 0px gaps.
</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="match" href="flex-gap-decorations-033-ref.html">
<link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
<style>
body {
margin: 0px;
}
#flexbox {
display: flex;
row-rule-style: solid;
row-rule-color: blue;
row-rule-width: 10px;
column-rule-style: solid;
column-rule-color: red;
column-rule-width: 10px;
width: 150px;
flex-wrap: wrap;
}
.items {
background-color: rgb(96 139 168 / 0.2);
width: 50px;
height: 50px;
}
#four {
width: 100px;
}
</style>
<div id="flexbox">
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items" id="four"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
</div>