Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
body { margin: 0; }
.lanes {
display: grid-lanes;
grid-template-columns: repeat(2, 60px);
column-gap: 20px;
row-gap: 20px;
background: #cdd5e0;
width: max-content;
}
.lanes > div {
background: #5b8def;
}
.lanes > div.a { grid-column: 1; height: 40px; }
.lanes > div.b { grid-column: 1; height: 40px; }
.lanes > div.c { grid-column: 1; height: 100px; }
.lanes > div.d { grid-column: 2; height: 40px; }
.lanes > div.e { grid-column: 2; height: 100px; }
.lanes > div.f { grid-column: 2; height: 40px; }
.col-rule { position: absolute; width: 0; border-left: 4px solid blue; }
.row-rule { position: absolute; height: 0; border-top: 4px solid gold; }
</style>
<div class="lanes">
<div class="a"></div>
<div class="d"></div>
<div class="b"></div>
<div class="e"></div>
<div class="c"></div>
<div class="f"></div>
</div>
<div class="col-rule" style="left: 68px; top: 0; height: 40px;"></div>
<div class="col-rule" style="left: 68px; top: 60px; height: 40px;"></div>
<div class="col-rule" style="left: 68px; top: 120px; height: 40px;"></div>
<div class="col-rule" style="left: 68px; top: 180px; height: 40px;"></div>
<div class="row-rule" style="top: 48px; left: 0; width: 60px;"></div>
<div class="row-rule" style="top: 108px; left: 0; width: 60px;"></div>
<div class="row-rule" style="top: 48px; left: 80px; width: 60px;"></div>
<div class="row-rule" style="top: 168px; left: 80px; width: 60px;"></div>