Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
html {
font: 16px/1 Ahem;
}
@page {
margin: 0;
width: 32em;
height: 28em;
}
body {
display: grid;
grid-template-columns: 6em auto 6em;
grid-template-rows: 6em auto 6em;
height: 100vh;
margin: 0;
}
.vertical-edge {
display: flex;
}
.horizontal-edge {
display: flex;
flex-flow: column;
}
</style>
<div class="corner">xx</div>
<div class="vertical-edge">
<div style="width:17.5em; margin-top:4em; background:hotpink;">xxxxxxx</div>
<div style="width:2.5em; margin-bottom:3em; background:yellow;">x</div>
</div>
<div class="corner" style="height:6em;">
xx<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
</div>
<div class="horizontal-edge">
<div style="width:2em; height:12em; margin-left:4em; background:yellow;">
xxxxxxx<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
</div>
<div style="width:3em; height:4em; text-align:center; background:hotpink;">
x<br>
x<br>
x<br>
x<br>
x<br>
x<br>
</div>
</div>
<div style="position:relative; z-index:-1; background:blue;"></div>
<div class="horizontal-edge">
<div style="width:2em; height:4em; margin-left:2em; background:hotpink;">
xx<br>
x<br>
x<br>
</div>
<div style="margin:4em 0; margin-left:1.5em; width:3em; height:4em; background:yellow;">x</div>
</div>
<div class="corner" style="margin-top:2.5em;">
xxxxxxxxx<br>
x
</div>
<div class="vertical-edge">
<div style="width:5em; margin-top:4em; background:yellow;">x<br>x</div>
<div style="width:15em; margin-top:1em; background:hotpink;">xxx<br>x<br>x<br>x<br>x</div>
</div>
<div class="corner">x<br>x</div>