-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathindex.html
64 lines (63 loc) · 1.92 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
<html>
<head>
<title>TouchPoint.js - A Javascript library that shows taps/clicks for HTML prototypes on desktop and mobile</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="//lighthouseux.com/in-the-lab/lib/devices.min.css">
<style>
body {
width: 100%; height: auto;
padding: 0;
margin: 0 auto;
background-color: #000;
overflow: hidden;
}
.container {
position: absolute;
top: 50px;
left: 30%;
}
</style>
</head>
<body>
<div class="container">
<section id="iphone-x" class="silver">
<div class="wrap">
<div class="marvel-device iphone-x">
<div class="notch">
<div class="camera"></div>
<div class="speaker"></div>
</div>
<div class="top-bar"></div>
<div class="sleep"></div>
<div class="bottom-bar"></div>
<div class="volume"></div>
<div class="overflow">
<div class="shadow shadow--tr"></div>
<div class="shadow shadow--tl"></div>
<div class="shadow shadow--br"></div>
<div class="shadow shadow--bl"></div>
</div>
<div class="inner-shadow"></div>
<div class="screen"></div>
</div>
</div>
</section>
</div>
<script src="node_modules/babel-polyfill/dist/polyfill.min.js"></script>
<script src="dist/touchpoint.js"></script>
<script>
(function () {
TouchPoint.color = 'red';
TouchPoint.init();
})();
</script>
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>
</body>
</html>