-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (41 loc) · 1.23 KB
/
index.html
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
<html>
<head>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<style>
.big-text {
font-size: 30pt;
text-align: center;
}
.full-page {
page-break-before: always;
page-break-after: always;
}
.print-only, .print-only * {
display: none;
}
@media print {
.no-print, .no-print * {
display: none ;
}
.print-only, .print-only * {
display: inline;
}
</style>
</head>
<body>
<div class="full-page big-text">
<span class="print-only">This text should appear on page 1 when printing.<br></span>
The picture of the monitor should not print:
<span class="no-print">
<i class="fa fa-television"></i>
</span>
<br>The newspaper should be visible ONLY when printed:
<span class="print-only">
<i class="fa fa-newspaper-o"></i>
</span>
</div>
<div class="full-page big-text print-only">
This should be the start of page 2 when printing, you should not see it on your monitor.<p>
</div>
</body>
</html>