forked from lob/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathattachment.html
More file actions
64 lines (58 loc) · 1.23 KB
/
attachment.html
File metadata and controls
64 lines (58 loc) · 1.23 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<html>
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<title>Lob.com Sample Attachment</title>
<style>
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
width: 8.5in;
height: 11in;
margin: 0;
padding: 0;
}
.page {
page-break-after: always;
position: relative;
width: 8.5in;
height: 11in;
}
.page-content {
position: absolute;
width: 8.125in;
height: 10.625in;
left: 0.1875in;
top: 0.1875in;
background-color: rgba(0,0,0,0.2);
}
.text {
position: relative;
left: 20px;
top: 20px;
width: 6in;
font-family: 'Open Sans';
font-size: 30px;
}
</style>
</head>
<body>
<div class="page">
<div class="page-content">
<div class="text">
The grey box is the safe area. Do not put text outside this box. If you are using the merge_variables argument, you can add variables like this: {{variable_name}}.
</div>
</div>
</div>
<div class="page">
<div class="page-content">
<div class="text">
This is a second page.
</div>
</div>
</div>
</body>
</html>