-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 loc) · 1.36 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
<!DOCTYPE html>
<html>
<head>
<title>小米VR</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #000000;
margin: 0;
cursor: move;
overflow: hidden;
}
.surface { width: 1026px; height: 1026px; background-size: cover; position: absolute; }
.surface .bg { position: absolute; width: 1026px; height: 1026px; }
</style>
</head>
<body>
<div>
<div id="surface_0" class="surface">
<img class="bg" src="images/posx.jpg" alt="">
</div>
<div id="surface_1" class="surface">
<img class="bg" src="images/negx.jpg" alt="">
</div>
<div id="surface_2" class="surface">
<img class="bg" src="images/posy.jpg" alt="">
</div>
<div id="surface_3" class="surface">
<img class="bg" src="images/negy.jpg" alt="">
</div>
<div id="surface_4" class="surface">
<img class="bg" src="images/posz.jpg" alt="">
</div>
<div id="surface_5" class="surface">
<img class="bg" src="images/negz.jpg" alt="">
</div>
</div>
<script src="js/three.min.js"></script>
<script src="js/CSS3DRenderer.min.js"></script>
<script src="js/DeviceOrientationControls.js"></script>
<script src="js/index.js"></script>
</body>
</html>