-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbaseline.html
74 lines (69 loc) · 1.88 KB
/
baseline.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<title>Polymer Pull to Refresh demo</title>
</head>
<style>
html, body, #polymer-p2r-container {
margin:0;
height:100%;
}
#polymer-p2r-container {
overflow:scroll;
}
.row {
height: 55px;
width: 100%;
}
.even {
background-color: lightblue;
}
.odd {
background-color: white;
}
</style>
<script>
window.onload = function() {
var container = document.getElementById("polymer-p2r-container");
document.addEventListener("touchmove", function() {
container.style.webkitTransform = 'translate3d(0, 0, 0)';
});
};
</script>
<body>
<div id="polymer-p2r-container">
<div class="p2rheader">
<div class="header-div">
</div>
</div>
<div class="content">
<div class='row odd'>1</div>
<div class='row even'>2</div>
<div class='row odd'>3</div>
<div class='row even'>4</div>
<div class='row odd'>5</div>
<div class='row even'>6</div>
<div class='row odd'>7</div>
<div class='row even'>8</div>
<div class='row odd'>9</div>
<div class='row even'>10</div>
<div class='row odd'>11</div>
<div class='row even'>12</div>
<div class='row odd'>13</div>
<div class='row even'>14</div>
<div class='row odd'>15</div>
<div class='row even'>16</div>
<div class='row odd'>17</div>
<div class='row even'>18</div>
<div class='row odd'>19</div>
<div class='row even'>20</div>
<div class='row odd'>21</div>
<div class='row even'>22</div>
<div class='row odd'>23</div>
<div class='row even'>24</div>
</div>
</div>
</body>
</html>