-
Notifications
You must be signed in to change notification settings - Fork 1
/
网易.html
293 lines (268 loc) · 7.5 KB
/
网易.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="fullpage.min.js"></script>
<link rel="stylesheet" type="text/css" href="fullpage.min.css">
<style type="text/css" media="screen">
*{
margin: 0px;
padding: 0px
}
.section1{
background-image: url(img/section1.jpg);
background-size: 100% 100%;
overflow: hidden;
}
.bg11{
width: 100%;
height: 100%;
position: absolute;
}
.bg12{
display: block;
position: absolute;
top: 600px;
transition: all ease 1s;
}
.bg13{
display: block;
position: absolute;
top: 700px;
transition: all ease 1s;
}
.title{
width: 100%;
height:59px;
position: absolute;
top: -100px;
transition: all ease 1s;
}
.title .title-inner{
display: block;
margin: 0 auto
}
.inner{
width: 100%;
height: 95px;
position: absolute;
top: 150px;
transition: all ease 1s;
opacity: 0
}
.inner h1{
width: 565px;
height: 105px;
display: block;
margin: 0 auto;
color: #fff;
font-size: 95px;
}
.inner span{
font-size: 105px;
line-height:110px;
color: yellow
}
.inner h2{
width: 485px;
height: 65px;
color: #fff;
display: block;
margin: 0 auto;
margin-top: 18px;
font-size: 60px
}
.cont{
width: 100%;
position: absolute;
opacity: 0;
}
p{
display: block;
width: 545px;
height: 60px;
color: #ccc;
line-height: 25px;
margin: 0 auto;
}
#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span {
background-color: #ccc;
color: #ccc
}
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
background-color:#ccc;
color: #ccc;
height: 10px;
width: 10px;
margin: -5px 0 0 -5px;
}
.section2{
background-image: url(img/section2.jpg);
background-size: 100% 100%;
overflow: hidden;
}
.section2 .bg21{
position: absolute;
top: 250px;
left: -400px;
transition: all ease 1s;
}
.bg22{
position: absolute;
top:180px;
right: -350px;
transition: all ease 1s;
}
.bg23{
width: 100%;
position: absolute;
top:680px;
transition: all ease 1s;
}
.bg23 img{
display: block;
width: 820px;
margin: 0 auto
}
.section2 .top{
width: 100%;
position: absolute;
top: 80px;
font-size: 50px;
color: #ccc;
}
.title2{
width: 524px;
margin: 0 auto;
font-size: 50px;
transition: all ease 1s;
}
.title2 span{
display: block;
font-size: 20px;
margin-bottom: 20px;
color: #020202
}
.title2 p{
width: 550px;
display: block;
color: #030303
}
.cont2{
width: 100%;
position: absolute;
top:220px;
opacity: 0
}
.cont2 p{
color: #999999
}
.section3{
background-image: url(img/section3.jpg);
background-size: 100% 100%;
overflow: hidden;
}
</style>
</head>
<body>
<div id="fullpage">
<div class="section section1">
<img src="img/bg11.png" alt="" class="bg11">
<img src="img/bg12.png" alt="" class="bg12">
<img src="img/bg13.png" alt="" class="bg13">
<div class="title">
<img src="img/title.png" alt="" class="title-inner">
</div>
<div class="inner">
<h1>网易邮箱<span>6.0</span></h1>
<h2>改变,不止所见。</h2>
</div>
<div class="cont">
<p>网易邮箱6.0版——2014年最具创意气质的重量级邮箱,重生光华,为之瞩目。唯美的视觉设计和视觉化交互,无可替代的独创动态请以皮肤,多项国内创意作品专利技术,成就无与伦比的出众品味,无可替代的视觉体验</p>
</div>
</div>
<div class="section section2">
<div class="bg21">
<img src="img/bg21.png" alt="">
</div>
<div class="bg22">
<img src="img/bg22.png" alt="">
</div>
<div class="bg23">
<img src="img/bg23.png" alt="">
</div>
<div class="top">
<div class="title2">
<span>[视觉·简]</span>
<p>华丽蜕变,尽享愉悦之美</p>
</div>
</div>
<div class="cont2">
<p>秉承网易邮箱经典的清新简洁的设计风格,邮箱6.0版带来全新一代的设计理念,更追求机制唯美的视觉设计,传承更多人文和艺术底蕴,华丽蜕变,带来更舒服更爽心悦目的视觉享受</p>
</div>
</div>
<div class="section section3">
<div class="bg31">
<img src="img/bg31.png" alt="">
</div>
</div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
</div>
<script type="text/javascript">
$(function(){
$("#fullpage").fullpage({
sectionsColor:["red","blue"],
navigation:true,
navigationTooltips:["首页","视觉","交互","皮肤","功能","待办邮件","联系人邮件","科技","连接易信","马上体验"],
scrollingSpeed:1400,
afterLoad:function(anchorLink,index){
// 开局都是原位置,移动后位置才改变
if (index==1) {
$(".bg12").css({"transform":"translateY(-400px)"})
$(".bg13").css({"transform":"translateY(-400px)"})
$(".cont").delay(1000).animate({opacity:1},500)
$(".inner").css({"transform":"scale(1)"})
$(".title").css({"transform":"translateY(100px)"})
$(".inner").animate({opacity:1},10)
}
else if(index==2) {
$(".bg21").css({"transform":"translateX(480px)"})
$(".bg22").css({"transform":"translateX(-480px)"})
$(".bg23").css({"transform":"translateY(-480px)"})
$(".title2").css({"transform":"scale(1)"})
$(".cont2").delay(1000).animate({opacity:1},500)
}
},
onLeave:function(index,nextIndex,direction){
if (index==1) {
$(".bg12").css({"transform":"translateY(400px)"})
$(".bg13").css({"transform":"translateY(400px)"})
$(".cont").animate({opacity:0},500)
$(".inner").css({"transform":"scale(0.3)"})
$(".title").css({"transform":"translateY(-100px)"})
$(".inner").animate({opacity:0},50)
}
else if (index==2) {
$(".bg21").css({"transform":"translateX(-480px)"})
$(".bg22").css({"transform":"translateX(480px)"})
$(".bg23").css({"transform":"translateY(480px)"})
$(".title2").css({"transform":"scale(0)"})
$(".cont2").delay(500).animate({opacity:0},500)
}
}
})
$(".title2").css({"transform":"scale(0)"})
})
</script>
</body>
</html>