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/fragmentation/flex-gap-decorations-fragmentation-026.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
CSS Gap Decorations: in a fragmented flex container.
</title>
<link rel="match" href="flex-gap-decorations-fragmentation-026-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
body {
margin: 0;
}
.multi-column {
columns: 3;
column-width: 110px;
column-gap: 10px;
height: 97px;
width: 350px;
background: lightgray;
}
#flexbox {
display: flex;
flex-wrap: wrap;
width: 110px;
row-gap: 10px;
column-gap: 10px;
row-rule: 10px solid gold;
column-rule: 10px solid blue;
}
.items {
background-color: lightblue;
width: 50px;
height: 50px;
}
</style>
<div class="multi-column">
<div id="flexbox">
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
</div>
</div>