Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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="help" href="https://www.w3.org/TR/css-gaps-1/">
<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>