-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
123 lines (122 loc) · 2.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js canvas - panorama fisheye demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
*{
margin: 0;
padding: 0;
}
img{
display: block;
}
html, body, #container{
width: 100%;
height: 100%;
}
.index{
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: url('static/images/bg.png') no-repeat center center;
background-size: cover;
}
#indexLizi{
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.logo{
width: 30%;
position: absolute;
top: 5%;
left: 5%;
z-index: 10;
}
.center-contianer{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50%;
}
.center-contianer img{
width: 100%;
}
.logo-container{
position: absolute;
bottom: 5%;
width: 90%;
left: 50%;
transform: translateX(-50%);
}
.logo-container img{
width: 100%;
}
@keyframes star1
{
from{
right: 0;
top: 0;
opacity: 1;
}
to{
right: 50%;
top: 50%;
opacity: 0;
}
}
@keyframes star2
{
from {
right: 50%;
top: 0;
opacity: 1;
}
to{
right: 100%;
top: 100%;
opacity: 0;
}
}
.star1,.star2{
width: 4px;
height: 200px;
position: fixed;
z-index: 10;
right: 0;
top: 0;
transform: rotate(45deg) translate(-150%, -150%);
opacity: 0.6;
background: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
}
.star1{
animation: star1 5s infinite both;
}
.star2{
animation: star2 5s 3s infinite both;
}
</style>
</head>
<body>
<div class="star1"></div>
<div class="star2"></div>
<img class="logo" src="static/images/logo.png" alt="logo">
<div id="container">
<div class="index"></div>
<div id="indexLizi"></div>
</div>
<div class="center-contianer">
<img src="static/images/center.png" alt="新耀杯" />
</div>
<div class="logo-container">
<img src="static/images/logo_bottom.png" alt="logo" />
</div>
</body>
</html>