-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathdimensions-005-print-ref.html
More file actions
42 lines (42 loc) · 1.21 KB
/
dimensions-005-print-ref.html
File metadata and controls
42 lines (42 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!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: 27em;
}
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"></div>
<div class="vertical-edge">
<div style="width:7.5em; margin-bottom:4em; background:hotpink;">xxx</div>
<div style="width:5em; margin-top:2em; margin-bottom:2em; background:cyan;">xx</div>
<div style="width:7.5em; margin-top:4em; background:yellow;">xx</div>
</div>
<div class="corner"></div>
<div class="horizontal-edge"></div>
<div></div>
<div class="horizontal-edge">
<div style="height:5.625em; margin-right:4em; background:hotpink;">x<br>x<br>x</div>
<div style="height:3.75em; margin-left:2em; margin-right:2em; background:cyan;">x<br>x</div>
<div style="height:5.625em; margin-left:4em; background:yellow;">x<br>x</div>
</div>