-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
91 lines (81 loc) · 2.03 KB
/
Copy pathindex.html
File metadata and controls
91 lines (81 loc) · 2.03 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AnimatorJS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="./demo_loader.js"></script>
<script src="./homepage.js"></script>
<style>
html,
body {
height: calc(var(--height, 6000) * 1px);
overflow-x: hidden;
}
#content {
position: absolute;
width: 100vw;
height: 100vh;
top: 0px;
left: 0px;
text-align: center;
}
#page0 {
overflow: hidden;
}
#page0content>*:first-child {
position: relative;
top: 150px;
font-size: 200px;
overflow-x: hidden;
white-space: nowrap
}
#page0content>h3 {
position: relative;
top: 150px;
font-size: 100px;
overflow-x: hidden;
white-space: nowrap
}
#page0content>h1:not(:first-child) {
position: relative;
top: 20vh;
overflow-x: hidden;
white-space: nowrap
}
#page0content {
position: fixed;
top: 0px;
left: 0px;
width: 100vw;
}
/* ::-webkit-scrollbar {
display: none;
} */
</style>
</head>
<body style="--height:6000;">
<div id="content">
<div id="page0">
<div id="page0content">
<h1>AnimatorJS</h1>
<h1> SCROLL </h1>
</div>
</div>
<div id="page1">
<h1 id="name">Page 1</h1>
</div>
<div id="page2">
<h1 id="name">Page 2</h1>
</div>
<div id="page3">
<h1 id="name">Page 3</h1>
</div>
<div id="page4">
<h1 id="name">Page 4</h1>
</div>
</div>
<div id="top_bar_fixed"></div>
</body>
</html>