Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>
CSS Gap Decorations: Flex gaps are painted in case where row gap is created by content distribution between lines due to space-evenly.
</title>
<link rel="help" href="https://www.w3.org/TR/css-gaps-1/">
<link rel="match" href="flex-gap-decorations-049-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
body {
margin: 0px;
}
#flexbox {
border: 1px solid;
width: 140px;
background-color: #fff;
display: flex;
flex-wrap: wrap;
row-rule: 5px solid gold;
height: 200px;
align-content: space-evenly;
}
.item {
width: 70px;
height: 40px;
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>