Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<title>
CSS Gap Decorations: flex column gaps are painted with solid styling.
</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="match" href="../agnostic/gap-decorations-001-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
.flex-container {
height: 110px;
width: 110px;
display: flex;
column-gap: 10px;
row-gap: 10px;
column-rule-color: pink;
column-rule-style: solid;
column-rule-width: 10px;
row-rule-color: green;
row-rule-style: solid;
row-rule-width: 10px;
flex-wrap: wrap;
}
.flex-item {
background: skyblue;
width: 50px;
}
</style>
<div class="flex-container">
<div class="flex-item"></div>
<div class="flex-item"></div>
<div class="flex-item"></div>
<div class="flex-item"></div>
</div>