Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<title>Reference for spanner pushes with margins, gaps, and lane slack</title>
<meta name="author" title="Kurt Catti-Schmidt" href="mailto:kschmi@microsoft.com" />
<style>
.reference {
background: green;
display: flex;
width: 80px;
height: 100px;
}
.column {
flex: 0 0 40px;
position: relative;
}
.column > div {
position: absolute;
width: 20px;
}
</style>
<p>The colored rectangles on the green background must match the reference.</p>
<div class="reference">
<div class="column">
<div style="left: 20px; height: 100px; background: blue;"></div>
</div>
<div class="column">
<div style="height: 20px; background: orange;"></div>
<div style="left: 20px; height: 10px; background: blue;"></div>
<div style="top: 35px; width: 40px; height: 20px; background: teal;"></div>
<div style="top: 70px; height: 20px; background: purple;"></div>
</div>
</div>