-
Notifications
You must be signed in to change notification settings - Fork 0
/
envolope.html
124 lines (118 loc) · 2.77 KB
/
envolope.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">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>信封</title>
<style type="text/css">
html,body{
width:640px;
height: 1030px;
margin:0px auto;
}
#bg{
background-color:#FCFAE1;
width:100%;
height: 100%;
margin:0px auto;
display: flex;
position: relative;
}
#title{
width:70%;
height:20%;
line-height: 20%;
margin:15% 10%;
position: absolute;
}
/*p{
top:10%;
font-size:30px;
color:saddlebrown;
}*/
#evolope{
display: flex;
position:absolute;
width:100%;
height:100%;
background-image: url(envelope.png);
background-repeat: no-repeat;
background-size:100%;
}
#letter{
width:100%;
height: 100%;
position:absolute;
background-image: url(card2.png);
background-repeat: no-repeat;
background-size:100%;
}
#lettertext{
top:38%;
left:28%;
position: absolute;
font-size:28px;
color:grey;
font-weight: 500;
transition:all 3s ease;
transition-delay: 0.5s;
}
/*#lettertext:hover{
color:black;
font-weight:700;
}*/
#bottomtext{
position: absolute;
width:90%;
height:18%;
bottom:5%;
left:10%;
color:#FCFAE1;
font-size:18px;
transition:all 3s ease;
}
#button{
position: absolute;
top:51%;
right:27%;
}
#button >a{
position:absolute;
color:#000000;
font-size:10px;
justify-content: center;
text-decoration: none;
font-family: "STHupo";
}
</style>
</head>
<body>
<div id="bg">
<div id="title">
<p style="top:10%;font-size:30px;color:saddlebrown;">叮叮叮!</p>
<p style="top:10%;font-size:30px;color:saddlebrown;">您有一封来自濮院的信件</p>
</div>
<p id="bottomtext">
濮院小tips:
<br>濮院位于浙江省嘉兴桐乡市,全国10件毛衫,有7件出自濮院。
<br>濮院毛衫不仅畅销全国,还出口海外
<br>这里的毛衫款式躲到你想要的样子在这里都能找到!
</p>
<div id="evolope"></div>
<div id="letter" onmouseover="change()">
<p id="lettertext">您的专属毛衫卡片已送达</p>
<div id="button">
<a href="end.html">下一步</a>
</div>
</div>
</div>
</body>
<script>
function change(){
document.getElementById("lettertext").style.color="black";
document.getElementById("lettertext").style.fontWeight=700;
document.getElementById("bottomtext").style.color="burlywood";
}
</script>
</html>