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-018.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
CSS Gap Decorations: Fragmented flex container gaps are painted with different sized gaps
per line due to content distribution (align-content: space between and no row gap).
</title>
<link rel="help" href="https://www.w3.org/TR/css-gaps-1/">
<link rel="match" href="flex-gap-decorations-fragmentation-018-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
.multi-column {
columns: 2;
height: 87px;
column-width: 140px;
width: 290px;
gap: 10px;
}
body {
margin: 0px;
}
#flexbox {
width: 140px;
background-color: #fff;
display: flex;
flex-wrap: wrap;
row-rule: 5px solid gold;
height: 180px;
align-content: space-between;
}
.item {
width: 70px;
height: 50px;
background-color: #007bff;
color: white;
display: flex;
}
</style>
<div class="multi-column">
<div id="flexbox">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</div>