Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Gap Decorations: intersection column rules use between visibility per segment in unequal-length fill-reverse grid lanes</title>
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<link rel="match" href="column-gap-decorations-rule-visibility-items-between-012-ref.html">
<style>
body { margin: 0; }
.case { position: relative; width: max-content; }
.lanes {
display: grid-lanes;
grid-template-columns: repeat(3, 60px);
grid-lanes-direction: column fill-reverse;
gap: 20px;
width: max-content;
height: auto;
background: #cdd5e0;
column-rule: 4px solid blue;
column-rule-break: intersection;
column-rule-visibility-items: between;
}
.lanes > div {
width: 60px;
height: 40px;
background: #5b8def;
}
.track-one { grid-column: 1; }
.lanes > .track-two {
grid-column: 2;
height: 80px;
}
</style>
<div class="case">
<div class="lanes">
<div class="track-one"></div>
<div class="track-one"></div>
<div class="track-one"></div>
<div class="track-one"></div>
<div class="track-one"></div>
<div class="track-two"></div>
</div>
</div>