This repository has been archived by the owner on Jan 24, 2018. It is now read-only.
/
index.html
124 lines (96 loc) · 2.11 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>skrollr-stylesheets test suite</title>
<link rel="stylesheet" type="text/css" href="qunit.css" />
<link rel="stylesheet" type="text/css" href="style.css" data-skrollr-stylesheet />
<link rel="stylesheet" type="text/css" href="style-ignore.css" />
<link rel="stylesheet" type="text/css" href="style-media-ignore.css" media="only screen and (max-width: 1px)" data-skrollr-stylesheet />
<link rel="stylesheet" type="text/css" href="style-media-apply.css" media="only screen and (min-width: 1px)" data-skrollr-stylesheet />
<style>
#simple1 {
-skrollr-animation-name: test1;
}
#simple2 {
-skrollr-animation-name: test2;
}
html body > div.complex {
-skrollr-animation-name: test3;
}
#prefixed {
-skrollr-animation-name: testprefixed;
}
@-skrollr-keyframes test1 {
bottom-top {
left:100%;
top:0%;
}
top-bottom {
left:0%;
top:100%;
}
}
@-skrollr-keyframes test2 {
top {
margin:0px;
color:rgb(0,0,0);
}
bottom {
margin:100px;
color:rgb(255,255,255);
}
}
@-skrollr-keyframes test3 {
0 {
left:0px;
}
100 {
left:100px;
}
}
@-skrollr-keyframes testprefixed {
skrollr-0 {
left:0px;
}
skrollr-100 {
left:100px;
}
}
#precedence {
-skrollr-animation-name:precedence2;
}
@-skrollr-keyframes precedence2 {
0 {
top:0px;
}
/*100 should be interhited from style.css*/
200 {
top:200px;
}
}
#inline {
-skrollr-animation-name:inline;
}
@-skrollr-keyframes inline {
0{top:1337px;}
}
</style>
</head>
<body>
<div id="simple1"></div>
<div id="simple2"></div>
<div id="prefixed"></div>
<div id="complex1" class="complex"></div>
<div id="external"></div>
<div id="ignore"></div>
<div id="precedence"></div>
<div id="media"></div>
<div id="inline" data-0="top:0px;"></div>
<div id="qunit"></div>
<script src="qunit.js" type="text/javascript"></script>
<script src="jquery.js" type="text/javascript"></script>
<script src="../src/skrollr.stylesheets.js" type="text/javascript"></script>
<script src="tests.js" type="text/javascript"></script>
</body>
</html>