Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Gap Decorations: around paints column rules beside a lane occupied only by a spanner</title>
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<link rel="match" href="column-gap-decorations-rule-visibility-items-around-004-ref.html">
<style>
body { margin: 0; }
.lanes {
background: #cdd5e0;
column-rule: 4px solid blue;
column-rule-break: normal;
column-rule-visibility-items: around;
display: grid-lanes;
gap: 20px;
grid-template-columns: repeat(2, 60px);
width: max-content;
}
.lanes > div {
background: #5b8def;
grid-column: 1;
height: 40px;
}
.lanes > .spanner {
background: #8a6df0;
grid-column: 1 / -1;
}
</style>
<div class="lanes">
<div></div>
<div class="spanner"></div>
<div></div>
</div>