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-010.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
CSS Gap Decorations: column flex gaps are painted when container is fragmented.
</title>
<link rel="match" href="flex-gap-decorations-fragmentation-010-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
.multi-column {
columns: 3;
height: 100px;
column-width: 110px;
width: 330px;
column-fill: auto;
}
body {
margin: 0px;
}
#flexbox {
border: 2px solid rgb(96 139 168);
display: flex;
column-gap: 10px;
row-gap: 10px;
width: 110px;
flex-wrap: wrap;
height: 140px;
column-rule: 10px solid blue;
row-rule: 10px solid gold;
}
.items {
background-color: rgb(96 139 168 / 0.2);
width: 50px;
height: 44px;
}
</style>
<div class="multi-column">
<div id="flexbox">
<div class="items">One</div>
<div class="items">Two</div>
<div class="items">Three</div>
<div class="items">Four</div>
<div class="items">Five</div>
<div class="items">Six</div>
</div>
</div>