-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
92 lines (66 loc) · 1.18 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta name="author" content="Nathan Ford" />
<title>Pngy</title>
<style>
body {
font-family: "Helvtica Neue", Arial, Helvetica, sans-serif;
line-height: 1.3em;
}
img {
max-width: 100%;
width: 100%;
display: block;
}
div {
width: 100%;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
}
.wrapper {
display: block;
margin: 0 auto;
width: 90%;
text-align: center;
padding-bottom: 40px;
}
h1, p {
margin: 20px 0;
}
h1 {
font-size: 36px;
}
h2 {
font-size: 18px;
font-weight: 400;
margin-bottom: 20px;
}
p {
font-size: 16px;
}
.pngy {
margin-bottom: 40px;
}
</style>
<script src="./js/jquery.js"></script>
<script src="./js/pngy.js"></script>
</head>
<body id="index">
<div class="wrapper">
<h1>Pngy</h1>
<h2 id="pingspeed">Load Speed: <b></b></h2>
<p><em>IMG example</em></p>
<img class="pngy" src="./img/saxmax-slow.jpg" />
<p><em>background-image example</em></p>
<div class="pngy" style="background-image: url(./img/saxmax-slow.jpg); height: 667px;"></div>
</div>
<script>
pngy({
display_results: '#pingspeed b'
});
</script>
</body>
</html>