Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>
CSS Gap Decorations: Flex gaps are painted with different sized gaps per line due to content distribution AND gap property.
</title>
<link rel="help" href="https://www.w3.org/TR/css-gaps-1/">
<link rel="match" href="flex-gap-decorations-044-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
body {
margin: 0px;
}
#flexbox {
width: 403px;
border: 2px solid #333;
background-color: #fff;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
column-rule: 5px solid gold;
column-gap: 13px;
}
.item {
width: 70px;
height: 50px;
background-color: #007bff;
color: white;
display: flex;
}
</style>
<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 class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>